tabarra / txAdmin

The official FiveM server management platform used by over 23k servers!
https://txadmin.gg/
MIT License
785 stars 527 forks source link

[FEATURE]: Add Revocation Reason #962

Open nick-perry14 opened 3 weeks ago

nick-perry14 commented 3 weeks ago

Scope

Web

Feature Description

Add Revoke Reason

Use Case

Add a reason as to why the [ban/warn] was revoked, so that an admin can determine if the revoked history should be taken into account.

For example:

Proposed Solution

When pushing the revoke button, a new modal should pop up prompting the user for a reason. Then, once the ban modal is opened, another line with "Revoke reason" would be provided

Additional Info

No response

tabarra commented 3 weeks ago

I would prefer to add a "expire ban" button, where it would immediately expire the ban, without revoking it.
Would that work?

nick-perry14 commented 3 weeks ago

Sounds good! Actually ends up even better so that revoking is solely reserved "expunged" records of that type

iSentrie commented 3 weeks ago

I would prefer to add a "expire ban" button, where it would immediately expire the ban, without revoking it. Would that work?

That could bring dishonest moderation, even worse than revoking without reason.

nick-perry14 commented 2 weeks ago

Maybe change the "expiry" from the date to "Manually Expired by {admin}" so there's a chain of custody