Something we’ll hopefully never need…
Add two fields to the users table, is_blocked and block_reason. Add these fields to the edit user modal in the admin CP, with an explanation that the reason will be visible to the user. The block reason field should only show if the is_blocked field is true. Neither field should show if the user is an admin, the user should be de-admined first.
Create a new view which explains to the user that their account has been blocked for the reason given, and that they should contact the jam organisers.
Add a check to the auth guard for is_blocked, which will show the blocked view instead of the requested content.
Create two new notification types, configurable only by admins:
“User has been blocked” - a user has been blocked by an admin, include the user, the reason, and who blocked them.
“User has been unblocked” - a user has been unblocked by an admin, include the user and who unblocked them.
The notifications should be sent to all admin users when the given action is performed.
Update the user table in the admin panel and show a red “blocked” badge in place of the user type.
Something we’ll hopefully never need…
Add two fields to the users table, is_blocked and block_reason. Add these fields to the edit user modal in the admin CP, with an explanation that the reason will be visible to the user. The block reason field should only show if the is_blocked field is true. Neither field should show if the user is an admin, the user should be de-admined first.
Create a new view which explains to the user that their account has been blocked for the reason given, and that they should contact the jam organisers.
Add a check to the auth guard for is_blocked, which will show the blocked view instead of the requested content.
Create two new notification types, configurable only by admins:
“User has been blocked” - a user has been blocked by an admin, include the user, the reason, and who blocked them.
“User has been unblocked” - a user has been unblocked by an admin, include the user and who unblocked them.
The notifications should be sent to all admin users when the given action is performed.
Update the user table in the admin panel and show a red “blocked” badge in place of the user type.