Unlocker Permission
ContentLock adds a single granular permission to Umbraco: ContentLock.Unlocker.
What It Allows
Section titled “What It Allows”Users with the Unlocker permission can:
- Unlock a node locked by another user — normally only the editor who applied the lock can unlock it. The Unlocker permission bypasses this restriction.
- Perform bulk unlocks from the dashboard — the Bulk Unlock button is only visible to users with this permission.
Without the Unlocker permission, an editor can only unlock nodes that they themselves locked.
Default Assignment
Section titled “Default Assignment”The ContentLock.Unlocker permission is automatically added to the Administrators user group when ContentLock runs its first-time migration on install. Umbraco administrators have full unlock capabilities out of the box.
Adding the Permission to Other Groups
Section titled “Adding the Permission to Other Groups”To grant the Unlocker permission to another user group (e.g., a “Content Managers” group):
- In the Umbraco backoffice, go to Settings → Users → User Groups.
- Open the user group you want to edit.
- Click the Permissions tab.
- Scroll to the Content Lock section.
- Tick the Unlocker checkbox.
- Click Save.
All users in that group will immediately have the Unlocker permission.
Permission Details
Section titled “Permission Details”| Property | Value |
|---|---|
| Permission key | ContentLock.Unlocker |
| Permission group | Content Lock |
| Label | Unlocker |
| Description | Allows the group of users to unlock a document that is locked by another user. |
| Auto-assigned to | Administrators user group (on first install) |
Checking the Permission Programmatically
Section titled “Checking the Permission Programmatically”ContentLock provides an extension method on IUser for checking this permission in C# code:
bool canUnlock = user.HasContentUnlockPermission();This helper is defined in ContentLock.Extensions.IUserExtensions and checks for the ContentLock.Unlocker granular permission constant.