Changes between Version 2 and Version 3 of proposals/UserProfileByGroup


Ignore:
Timestamp:
Jul 4, 2012, 4:16:25 AM (12 years ago)
Author:
fxp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • proposals/UserProfileByGroup

    v2 v3  
    66|| '''Last edited''' || ||
    77|| '''Status''' || Draft ||
    8 || '''Assigned to release''' || 2.x ||
     8|| '''Assigned to release''' || 2.9.0 ||
    99|| '''Resources''' || Available (funding Ifremer) ||
    1010|| '''Ticket #''' || # ||
     11|| '''Git repo''' || https://github.com/fxprunayre/core-geonetwork/tree/feature/user-with-profiles ||
    1112
    1213
     
    2324
    2425
    25 Draft UI for discussion:
     26=== Editor configuration ===
     27
     28The 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
    2630[[Image(user-admin.png)]]
     31
     32If user is an administrator, profiles and group lists are not displayed.
     33
    2734
    2835
     
    3845
    3946
    40 === DB Changes ===
     47=== DB changes ===
    4148 * 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).
    4350
    44 === Changes ===
     51=== User interface changes ===
    4552
    46  * UI:
    4753  * Metadata
    4854   * New metadata :
    4955    * 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)
    5157   * Metadata insert :
    5258    * 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)
    5460   * Privileges :
    5561    * only list group where current user is editor|registered
     
    6167    * for userAdmin, only display users part of current user groups
    6268   * 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
    6470  * 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 
     74Note: the groups where a user is a reviewer, this user is also an editor for those groups.
    7475
     76=== Java changes ===
     77  * service xml.info also provide a profile parameter to get user groups per profile
     78{{{
     79xml.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)
    7588
    7689== Risks ==
    7790
    7891== Participants ==
     92
    7993 * Francois Prunayre