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.
- is duplicated by
NXP-13450 nuxeo filters wrong treat permissions