Unable to unlock a page in AEM even though a admin

P_Vishnu

17-08-2020

We are using AEM 6.4.8 version.

Tried to lock a page through AEM interface as an admin and that was successfull

Tried to unlock the same page as an admin and it is not working. Unable to unlock the page eventhough I am part of admin group.

This is happening in all our environment across al projects. So seems like a instance wide issue.

 

Can anyone shed some light whats happening here?

Have read in many threads that admin should be able to unloack in any case. But in this scenario, thats also not working

Any specific permissions or so we need to check ?

 

Can see it is failing in the below line of code.

P_Vishnu_0-1597698746772.png

 

 

I as an admin tried to lock a page and tried to unloack a page and that itself is not working.

AEM Permissions

Accepted Solutions (1)

Accepted Solutions (1)

vanegi

Employee

17-08-2020

Hello @P_Vishnu,

As per https://helpx.adobe.com/in/experience-manager/kb/UnlockALockedPage.html

 

The "admin" account can unlock any page by opening the page and clicking on "Unlock Page" from the page properties drop down

NOTE: The original user holding the lock does have permission to unlock the page. However, other users, even if a member of the administrators group, DO NOT have the right to unlock pages that have been locked. Only the "admin" account has this right.

 

In case if you are still unable to unlock the page, try the following:

 

- Go to crxde in aem and log in as an admin user.

- Locate the page that needs to be unlocked and open jcr:content of that page.

- You will notice mix:lockable mixin property on the page.

Untitled.png

 

- Remove mix:lockable mixin from there by clicking Mixins in the topbar.

Untitled.png

 

After removing the mix:lockable mixin from the page and the page would be unlocked.

 

Thanks!!

 

 

 

 

Answers (3)

Answers (3)

ChitraMadan

MVP

17-08-2020

Hi @P_Vishnu 

 

Please see below Note as per https://helpx.adobe.com/uk/experience-manager/kb/UnlockALockedPage.html

 

The "admin" account can unlock any page by opening the page and clicking on "Unlock Page" from the page properties drop down

NOTE: The original user holding the lock does have permission to unlock the page. However, other users, even if a member of the administrators group, DO NOT have the right to unlock pages that have been locked. Only the "admin" account has this right.

 

Even if you are a member of administrators group, you wont be able to unlock the page - it has to be either the user who has locked page or admin.

Arun_Patidar

MVP

17-08-2020

Hi,

Are you login as superuser i.e. admin user or normal user?

sunjot16

Employee

17-08-2020

I am not able to reproduce the issue on 6.4.8.1.

Are you using the same user to unlock the page, that had actually locked the same page? If not, then you would need the actual user who had locked the page, or OOTB superuser named  "admin" to unlock that page.

 

I created a user named "testUser" and added it to Administrators group:

1) I unlocked /content/we-retail/us/en page.

UnlockedPage.JPG

 

2) Then, I locked it back using the same testUser.

LockedPage.JPG

 

 

The following document may be helpful:

https://helpx.adobe.com/uk/experience-manager/kb/UnlockALockedPage.html

 

Hope it helps !! 🙂