You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "David Johnson (JIRA)" <no...@atlassian.com> on 2007/07/26 21:37:30 UTC

[Roller-JIRA] Resolved: (ROL-1495) Admin user should not be allowed to disable administrator privilege if there is no other admin users in the system

     [ http://opensource.atlassian.com/projects/roller/browse/ROL-1495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Johnson resolved ROL-1495.
--------------------------------

    Resolution: Fixed

Fixed in trunk for 4.0

URL: http://svn.apache.org/viewvc?view=rev&rev=559948
Log:
Fixing ROL-1495 "Admin user should not be allowed to disable administrator privilege if there is no other admin users in the system"

No longer allow you to change your own role. We don't show the Admin checkbox if you are editing yourself, plus there's a check in ModifyUser action to prevent you from changing your own role.

> Admin user should not be allowed to disable administrator privilege if there is no other admin users in the system
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: ROL-1495
>                 URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1495
>             Project: Roller
>          Issue Type: Bug
>          Components: User Management
>    Affects Versions: 4.0
>         Environment: glassfish/winXP
>            Reporter: Davis Nguyen
>            Assignee: David Johnson
>             Fix For: 4.0
>
>
> If there is only one admin user in the server after disable his role as Administrator, the "Admin User Page" became obsolete.
> STEPS TO REPRODUCE:
> 1. Install glassfish v2 and roller build dated 7/17/2007
> 2. Create a admin user (assume there is no other admin user)
> 3. Login as admin user
> 4. Go to "Admin User Page" > "User Admin" > select edit admin user > un-select Administrator role > save the change
> BUG:
>       The Admin User Page became unusable

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira