[Geoserver-devel] [jira] (GEOS-5698) Numerous issues with the Security "roles" web-interface

Jonathan Moules created BugGEOS-5698
Numerous issues with the Security “roles” web-interface

Issue Type:

BugBug

Affects Versions:

2.3-RC1

Assignee:

Andrea Aime

Attachments:

Clipboard02.png, Clipboard03.png, Clipboard04.png

Components:

Security

Created:

08/Mar/13 9:47 AM

Description:

Numerous issues with creating/editing a Security role. Decided to amalgamate them into one jira issue as they all appear to be somewhat related (They can be split if desired).

a) It seems to be impossible to unset a parent role.

b) When creating a new role, the “name” field starts as “null”. Should probably be blank.

c) Go here: “Users, Groups and Roles” -> Roles (tab) -> Edit (link) -> Roles (tab)
>From here, if I edit a role’s parentage, this table won’t update to reflect the edit after I press save. I need to go back to the main roles page for it to update.

d) I can’t seem to remove my “test” role. Even after this, if I select it, the “remove selected” doesn’t appear. No idea why. To resolve this I had to leave the user-pages and re-enter them. Clipboard02.png

e) I can create a role called “admin” (lower case) - Might it be a good idea to force role-names to not be the same, even if the case is different (there’s already an “ADMIN”)? GeoServer doesn’t seem to have an issue with the shared name, but I can see it confusing admins.

f) (probably related to (d)) I’ve somehow managed to confuse the interface enough that when I select “test” for deletion, it tells me it wants to delete “test2” and vice-versa. Clipboard03.png

g) If the role is called “null”, the drop-down menu lets me select the role to be its own parent (Clipboard04.png). This only seems to happen with a user called “null” (see also, (b)).

h) When creating/editing a role, If I click “add” for Key/Value, and leave it blank, then click “save” I get a Java Error (easily replicable so the error isn’t posted here).

i) Similar to (c), if I edit a role’s parameters, the big green tick doesn’t appear in the roles listing unless I reload the page.

j) If I select and then try and remove either the Admin or Group_Admin, I get a Java Error in a new window. Obviously it shouldn’t delete them, but it should be more graceful (see also: http://jira.codehaus.org/browse/GEOS-5697 ).

k) Go here: “Users, Groups and Roles” -> Roles (tab)
Why are there checkboxes next to items when there are no actions that can be performed (i.e. delete)? Same for the users/groups tab.
You have to go into the “default group” to get to the list with actions.

There may be more, but that’s enough for now.

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Jonathan Moules

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)