Closed Nokitoo closed 6 years ago
Add two methods in auth module:
auth.ban
auth.unban
Add unit tests testing the new behaviour. The only untested path is in CommandCenter.executeCommand.
CommandCenter.executeCommand
When a user is banned and tries to access a user command or login, it returns a banned error.
banned
Add two methods in auth module:
auth.ban
: add ban group acl (constant) to the userauth.unban
: remove ban group acl (constant) from the userAdd unit tests testing the new behaviour. The only untested path is in
CommandCenter.executeCommand
.When a user is banned and tries to access a user command or login, it returns a
banned
error.