Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Unable to unlock a page in AEM even though a admin

P_Vishnu
Level 2
Level 2

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution
vanegi
Correct answer by
Employee
Employee

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!!

 

 

 

 

View solution in original post

12 Replies
Arun_Patidar
Community Advisor
Community Advisor

Hi,

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

P_Vishnu
Level 2
Level 2
@Arun_Patidar Have logged in as normal user who part of administrator group
Arun_Patidar
Community Advisor
Community Advisor
You cannot unlock a page until either you are the lock holder or admin superuser
ChitraMadan
Community Advisor
Community Advisor

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.

P_Vishnu
Level 2
Level 2
@ ChitraMdan I was the ine who had unlocked the page and I am clicking unlock page to unlock it and it is not working.
ChitraMadan
Community Advisor
Community Advisor
@P_Vishnu, you just have to make sure that you have Read and Modify rights on /content. You should be able to unlock.
sunjot16
Employee
Employee

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 !! 🙂

P_Vishnu
Level 2
Level 2
Yes. I locked the page and trying to unlock it. It is not working for me though I am in administerator group too
vanegi
Correct answer by
Employee
Employee

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!!

 

 

 

 

View solution in original post

abateman325
Level 1
Level 1

Hello @P_Vishnu, I have the same issue on my instance. We've actually been dealing with this issue for awhile and have just been using the Super Admin account in order to unlock pages. But I, as a person who belongs to the admin group should still be able to unlock it. Also the author who locked the page is unable to unlock it. Must be some weird bug. We're upgrading to 6.5 soon, so hopefully that will solve this issue.