Hey team,
I just noticed a biug within the permission settings of the pro theme.
I’ve tested it with the “Editor” permissions and the “Lock / Unlock Elements” setting.
Even though the box is unchecked for the “Page” post type, the Editors still have access to unlock a locked element.
To reproduce it:
- Head to Cornerstone > Settings > Editor role > Pages
- Activate the pages for the editor and click “Configure”
- Uncheck “Lock / Unlock Elements” setting and save the changes
- Create a Cornerstone page as an admin and lock a section > Save the page
- Log in as an editor and try to edit the page of step 4
- Once loaded, click on the magnifying glass on the locked section and you will still see the possibility to “Unlock” the section.
Let me know if you need a testing page and I’ll bootstrap you one.