Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3223

Create a new user role to force the editor only mode

    XMLWordPrintable

Details

    • Critical
    • Hide
      In editor-only-mode (leave application button instead back to tasklist) admins are now allowed to switch back to task list.
      For other users an optional role (editor-only-override) is added. This enables a hybrid setup of editor only mode and default mode with task overview.
      Show
      In editor-only-mode (leave application button instead back to tasklist) admins are now allowed to switch back to task list. For other users an optional role (editor-only-override) is added. This enables a hybrid setup of editor only mode and default mode with task overview.

    Description

      problem

      Currently the editor only mode is defined as disabling the leave button and enable the close button in the configuration.

      • This has several problems, a sys admin may not leave the task back to the admin panel.
      • No mixture of both modes in one instance is possible

      solution

      The hideCloseButton and hideLeaveButton configuration remains for the moment as they are, but a new ACL to override the editor only mode is added.

      That means: By default all remains as it was.

      What is changed: when enabling the editor only mode (set hideCloseButton = 0 and hideLeaveButton = 1) a new additional role can be used: editor-only-override - with that role the user still gets the leave button instead the close button and is able to change to the task overview also in editor only mode. The right (not the role) is added permanently to systemAdmin and admin role. All other users can get get the role editor-only-override too.

      Attachments

        Issue Links

          Activity

            People

              tlauria Thomas Lauria
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: