Changes between Version 2 and Version 3 of proposals/UserProfileByGroup
- Timestamp:
- 07/04/12 04:16:25 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified proposals/UserProfileByGroup
v2 v3 6 6 || '''Last edited''' || || 7 7 || '''Status''' || Draft || 8 || '''Assigned to release''' || 2. x||8 || '''Assigned to release''' || 2.9.0 || 9 9 || '''Resources''' || Available (funding Ifremer) || 10 10 || '''Ticket #''' || # || 11 || '''Git repo''' || https://github.com/fxprunayre/core-geonetwork/tree/feature/user-with-profiles || 11 12 12 13 … … 23 24 24 25 25 Draft UI for discussion: 26 === Editor configuration === 27 28 The main change of this proposal is in the user configuration page which now allows to set for each profiles the list of groups the user is member of. 29 26 30 [[Image(user-admin.png)]] 31 32 If user is an administrator, profiles and group lists are not displayed. 33 27 34 28 35 … … 38 45 39 46 40 === DB Changes ===47 === DB changes === 41 48 * add a profile field in the usergroups table 42 * the profile in the users table is the main profile which means the profile with the more privileges for the user according to Jeeves user-profiles settings .49 * the profile in the users table is the main profile which means the profile with the more privileges for the user according to Jeeves user-profiles settings (eg. if a user is Editor in Group1 and UserAdministrator in Group2, the main profile for the user is UserAdministrator). 43 50 44 === Changes ===51 === User interface changes === 45 52 46 * UI:47 53 * Metadata 48 54 * New metadata : 49 55 * only list group where current user is editor 50 * add exception if user try to create a metadata in other groups 56 * add exception if user try to create a metadata in other groups (#979) 51 57 * Metadata insert : 52 58 * only list group where current user is editor 53 * add exception if user try to insert a metadata in other groups 59 * add exception if user try to insert a metadata in other groups (#979) 54 60 * Privileges : 55 61 * only list group where current user is editor|registered … … 61 67 * for userAdmin, only display users part of current user groups 62 68 * User list : only display user member of the groups where current user is userAdmin 63 * User info : only display groups where current user is userAdmin 69 * User info : only display groups where current user is userAdmin in order to not allow to make a user member of a group userAdmin is not part of 64 70 * Search 65 * Search privileges filter : add groups where current user is member|editor|reviewer 66 * Group criteria : only list group where current user is reviewer|editor 67 68 * Java 69 * xml.info?type=groups also provide a profile parameter to get user group per profile 70 * !GetMine 71 * !ServiceNotAllowed when: 72 * a userAdmin try to create a user in a group where he is not userAdmin 73 * a editor (also reviewer) try to publish a record to internet where he is not reviewer 71 * Search privileges filter : add groups where current user is editor|registered 72 * Group criteria : only list group where current user is editor 73 74 Note: the groups where a user is a reviewer, this user is also an editor for those groups. 74 75 76 === Java changes === 77 * service xml.info also provide a profile parameter to get user groups per profile 78 {{{ 79 xml.info?type=groups&profile=Editor 80 }}} 81 * !GetMine also procide a config parameter profile to get the list of user group for a specific profil. 82 * !ServiceNotAllowed exception is added when: 83 * a user try to insert a metadata in group the user is not member of (#979) 84 * a editor (also reviewer) try to publish a record to internet/intranet/guest while he is not reviewer 85 86 === Related fix === 87 * Widgets / clean other action menu : remove "new owner" for editor or guest. Do not suggest create metadata action for guest (#781) 75 88 76 89 == Risks == 77 90 78 91 == Participants == 92 79 93 * Francois Prunayre