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

Ability to specify permission changes triggered by placing a record into a study

    Details

    • Type: New Feature
    • Status: Code Review
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:

      Description

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

      The preferences will be stored in XWiki.ConfigurationClass objects in the study 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 study page as follows:

      • 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. There can be more than one entry with this property. 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: