[Jamwiki-commit] SF.net SVN: jamwiki:[4067] wiki/branches/cclavadetscher
Brought to you by:
wrh2
From: <ccl...@us...> - 2012-06-05 10:38:16
|
Revision: 4067 http://jamwiki.svn.sourceforge.net/jamwiki/?rev=4067&view=rev Author: cclavadetscher Date: 2012-06-05 10:38:05 +0000 (Tue, 05 Jun 2012) Log Message: ----------- New functionality - Assign to and remove users from groups. - Search users by group. jamwiki-core/src/main/java/org/jamwiki/model/GroupMap.java: New container class for mappings of users contained in a group and groups that a user belongs to. jamwiki-core/src/main/resources/sql/sql.ansi.properties: SQL statements to select and delete the elements of a GroupMap. jamwiki-core/src/main/java/org/jamwiki/db/QueryHandler.java: Methods to retrieve and delete GroupMaps. jamwiki-core/src/main/java/org/jamwiki/db/AnsiQueryHandler.java: Implementation of additions in QueryHandler.java jamwiki-core/src/main/java/org/jamwiki/DataHandler.java: Methods to get and write GroupMaps jamwiki-core/src/main/java/org/jamwiki/db/AnsiDataHandler.java: Implementation of changes in DataHandler.java jamwiki-war/src/main/resources/ApplicationResources.properties: New text fragments for new functionality. jamwiki-web/src/main/java/org/jamwiki/servlets/RolesServlet.java: - Modification of searchRoles() to search users by groups. - Modification of assignRoles() to add assignment of users to groups. - Addition of call to searchRoles() at the end of assignRoles and deletion of call to view() in order to stay on page after modification to roles or group assignments. jamwiki-war/src/main/webapp/WEB-INF/jsp/admin-roles.jsp: - New group column in user role assignment page. - New search drop box to search users by group. - Addition of hidden fields to repeat search after modifications and display the same page to the user. Next steps depending of answer to the following questions: - Should the GROUP_ANONYMOUS and GROUP_REGISTERED_USER be removed from the list of assignable groups? Does it make sense for a user assign or remove users from those groups? - Should the roles that are inherited through group membership be shown as checked and disabled? This would increase readability of the page. Modified Paths: -------------- wiki/branches/cclavadetscher/jamwiki-core/src/main/java/org/jamwiki/DataHandler.java wiki/branches/cclavadetscher/jamwiki-core/src/main/java/org/jamwiki/db/AnsiDataHandler.java wiki/branches/cclavadetscher/jamwiki-core/src/main/java/org/jamwiki/db/AnsiQueryHandler.java wiki/branches/cclavadetscher/jamwiki-core/src/main/java/org/jamwiki/db/QueryHandler.java wiki/branches/cclavadetscher/jamwiki-core/src/main/resources/sql/sql.ansi.properties wiki/branches/cclavadetscher/jamwiki-war/src/main/resources/ApplicationResources.properties wiki/branches/cclavadetscher/jamwiki-war/src/main/webapp/WEB-INF/jsp/admin-roles.jsp wiki/branches/cclavadetscher/jamwiki-web/src/main/java/org/jamwiki/servlets/RolesServlet.java Added Paths: ----------- wiki/branches/cclavadetscher/jamwiki-core/src/main/java/org/jamwiki/model/GroupMap.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |