-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
core.edit.own permission doesn't allow to insert article link with a XTD "Article" button #10653
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
Conversation
Allow user/group with core.edit.own permission to add article link via XTD button.
|
I have tested this item ✅ successfully on 711661c This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10653. |
|
I have tested this item ✅ successfully on 711661c This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10653. |
|
Do not assign core.edit.own for usergroup A
(aka soft deny) then grant core.edit.own for some sub-category C for usergroup A, and it will not work, even the existing check for 'core.edit' is wrong, for same reason
|
|
I have tested this item 🔴 unsuccessfully on 711661c This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10653. |
|
Sorry but Im not that deep in Joomla to resolve issues regarding permissions inheritance :( |
|
I will make a PR against the branch of this PR |
|
@ggppdk Does this problem still exists in latest staging after your PR's? |
|
I did not make a PR for this First i want to remind that these layouts (pagebreak and modal) are "proxied" to the backend models / views Studing this, my syggestion is remove these ACL checks from the file: Firstly, for backend users, we do not make any such ACL checks see here: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_content/content.php In more details:
so what are we going to do check the assets of all articles ?
Now about the topic of this PR:
My suggestion remove the irrelevant ACL checks from there completely, that wrongly prevent access to the layouts, only the view access levels are relevant and they are already enforced, plus session token is checked for frontend users |
|
See PR here: |
|
Closed as #12353 addressed this and it has been merged This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/10653. |
Pull Request for Issue #10636 .
Summary of Changes
Allow user/group (that is not descendant of 'Editor' group) with core.edit.own permissions to add article link via XTD button.
Testing Instructions