Dynamic staff status for users
|Assignee:||George Notaras||% Done:|
|Category:||-||Estimated time:||1.50 hour|
If a user is granted the 'can_admin' permission on a repository, then the user's staff status should be enabled automatically, so that the user can login to the admin interface and administer the repository.
When the 'can_admin' permission is removed from a user, then it should be checked whether the user has the 'can_admin' permission on any other repository. If it does not have it, then the staff status should be automatically disabled for that user.