Working on the new admin gui for user/group/roles I am getting confused about the RoleFormComponent.java implementation.
The new GSOC implementation sees roles as own entities, these roles can be associated with users and groups, so far, so good. The RoleFormComponent has a button "add" to add new roles on the fly. I wanted to remove this button since there are new pages called NewRolePage.java and EditRolePage.java. But I had to stop here since RoleFormComponent.java is also used for associating roles with data and services. Further investigations show some strange behavior. I did: "Data Security" -> "Add new rule" and added a new role ROLE_TEST,associated this role with the workspace "cite" and clicked save. Afterwards, I wanted to create a second rule, expecting ROLE_TEST in the "Available" list box. The role is not there, since the available roles are read from the GeoServerUserDao object. Next, the listing produced from DataAccessRulePage.java shows the new rule and the new role, but if I want to edit this rule, the new role is gone ??? Summary: "Data Security" and "Service Security" offer the possibility to invent roles which are stored in services.properties or layers.property. This rules are not shown if you want to edit the rule again of if you want to create a new rule using one of these roles. In my opinion, we should remove the add new role link, there is an own page for this now. Additionally, for a smart migration, I have to scan services.properties and layers.properties to find such roles. Opinions ? ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
