Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock for elements (snippets, templates, tv’s) does not work good #14702

Open
dimitrihilverda opened this issue Aug 29, 2019 · 0 comments · May be fixed by #14739

Comments

@dimitrihilverda
Copy link

commented Aug 29, 2019

Bug report

Summary

When using the checkbox Lock [element] for editing, only on chunks the acl's are respected

Step to reproduce

as administrator lock some elements, (chunks and snippets) for editing.

Observed behavior

Then login with a user that is not allowed to edit_locked, try to edit a chunk with a lock: you get a notice that the chunk is locked and editing is not possible, do the same with a locked snippet, the edit window is opened and I can remove the lock and save the snippet.

Expected behavior

On all elements that are locked I expect the same notice as with the locked chunks

Environment

MODX 2.7.1

Mark-H added a commit to Mark-H/revolution that referenced this issue Sep 18, 2019
Mark-H added a commit to Mark-H/revolution that referenced this issue Sep 18, 2019
Prevent users without edit_locked permission from unlocking and editi…
…ng locked elements [modxcms#14702]

3.x recreated version of modxcms#14739 to ease inclusion in 3.x
Mark-H added a commit to Mark-H/revolution that referenced this issue Sep 18, 2019
Prevent users without edit_locked permission from unlocking and editi…
…ng locked elements [modxcms#14702]

3.x recreated version of modxcms#14739 to ease inclusion in 3.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.