Uploaded image for project: 'PhenoTips'
  1. PT-3790

Users have the ability to specify default permissions for the data they submit

    Details

    • Type: New Feature
    • Status: Code Review
    • Priority: Medium
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: None
    • Components: None
    • Labels:
      None
    • Sprint:

      Description

      A new entry in the menu on the user profile page allows to specify default permissions:

      The preferences will be stored in XWiki.ConfigurationClass objects in the user profile page (see also Technical information for PT-3780 Code Review ).

      XWiki.ConfigurationClass has two free-text (String) fields: property and value. The permissions preferences will be stored in a user profile as follows:

      • Property=defaultWorkgroup / value = <a workgroup reference>. Example: defaultWorkgroup / xwiki:Groups.BloodDisorders . Allows to use preferences from one of the user’s workgroups.
      • Property=defaultOwner / value = <a user or workgroup referece>. Example: defaultOwner / xwiki:XWiki:John .
      • Property=defaultVisibility / value = <a visibility level configured on the current installation>. Example: defaultVisibility / matchable
      • Property=defaultCollaborator / value = <a user or workgroup referece>[^<access level>]. Level can be view, edit, manage. If level is missing or is invalid, the default is view. Examples:
        defaultCollaborator / xwiki:Groups.BloodDisorders^manage
        defaultCollaborator / xwiki:XWiki.Mary

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                veronikaslc Veronika Koltunova
                Reporter:
                marta Marta Girdea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: