yuudachi icon indicating copy to clipboard operation
yuudachi copied to clipboard

feat(reports): ability to restrict reports server wide

Open JPBM135 opened this issue 2 years ago • 3 comments

This PR adds a sub-command to the reports command with the ability to restrict reports server wide.

[!NOTE] This PR requires a command redeploy This PR requires a migration under 1673411947-reports-restriction-level.js

Closes #1152

Config change

Command:

image

Updating levels:

image

Report examples

Restricted report:

image

Blocked report:

image

JPBM135 avatar Jan 11 '23 05:01 JPBM135

@JPBM135 is attempting to deploy a commit to the discordjs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jan 11 '23 05:01 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
yuudachi-report ⬜️ Ignored (Inspect) Jan 11, 2023 at 5:28AM (UTC)

vercel[bot] avatar Jan 11 '23 05:01 vercel[bot]

Of course! This seems like an better approach than blocking completely, maybe add an option to warn or block?

JPBM135 avatar Mar 08 '23 22:03 JPBM135