Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-15232

Fix condition to display the Unlock button

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6, 5.8, 5.9.5
    • Fix Version/s: 6.0
    • Component/s: Core
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Manager on a specific workspace will now be able to unlock children documents.

      Show
      Manager on a specific workspace will now be able to unlock children documents.

      Description

      Currently the Unlock button is displayed if both conditions are satisfied:

      • having the Write permission
      • validating the following expression: lockActions.canUnlockCurrentDoc

      The problem is these conditions will never been satisfied because they check the Write condition, which is denied by the LockSecurityPolicy for a locked document, and this applies to anybody except the locker and administrators.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.