ACL issues, please help!
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Intern
- Posts: 76
- Joined: Tue Feb 23, 2010 5:36 pm
ACL issues, please help!
I am working on a site where I need to restrict certain users so they can only create/edit/publish articles in one article subcategory, or some users should be able to edit multiple categories. I've read a few posts in this forum all of them point to using groups. I setup a group for each subcategory. So far everything looks like this. All editing must be done from the frontend, not the admin area.
parentarticlecategory
-subcategory1
-subcategory2
-subcategory3
groups setup
-registered
--author
---editor
----articlecategorygroup
-----subcategorygroup1
-----subcategorygroup2
-----subcategorygroup3
What I just found out is that when I add a user to subcategory1 and subcategory2 groups they can't publish to either one. If I have them in only one of the two groups they can publish in that single article category without issue.
It seems J! ACL, instead of saying 'user ABC can edit articles in both subcategory1 and subcategory2 since they are in both groups' the logic is 'user ABC cannot edit articles in subcategory1 because they are in subcategorygroup2 which is denied and vice versa'.
parentarticlecategory
-subcategory1
-subcategory2
-subcategory3
groups setup
-registered
--author
---editor
----articlecategorygroup
-----subcategorygroup1
-----subcategorygroup2
-----subcategorygroup3
What I just found out is that when I add a user to subcategory1 and subcategory2 groups they can't publish to either one. If I have them in only one of the two groups they can publish in that single article category without issue.
It seems J! ACL, instead of saying 'user ABC can edit articles in both subcategory1 and subcategory2 since they are in both groups' the logic is 'user ABC cannot edit articles in subcategory1 because they are in subcategorygroup2 which is denied and vice versa'.
Why are there so many d-bags around here? Joomla is about community AND a CMS! Don't be a d-bag, explain how to fix the person's issue not just 'go look here and read xyz.com'.
Remember, there is a PERSON behind that username that NEEDS HELP!
Remember, there is a PERSON behind that username that NEEDS HELP!
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: ACL issues, please help!
This seems like a bug - are you able to reproduce it on a fresh Joomla installation? If you are, then it would be a good idea to report it.
I am assuming you are using Joomla 3.3.6.
I am assuming you are using Joomla 3.3.6.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
-
- Joomla! Intern
- Posts: 76
- Joined: Tue Feb 23, 2010 5:36 pm
Re: ACL issues, please help!
Yes, and it was a great use of the new Joomla.com service! As soon as I added the user to a second group they are not able to edit the first category, of which they have permissions through group1itoctopus wrote:This seems like a bug - are you able to reproduce it on a fresh Joomla installation? If you are, then it would be a good idea to report it.
I am assuming you are using Joomla 3.3.6.
Why are there so many d-bags around here? Joomla is about community AND a CMS! Don't be a d-bag, explain how to fix the person's issue not just 'go look here and read xyz.com'.
Remember, there is a PERSON behind that username that NEEDS HELP!
Remember, there is a PERSON behind that username that NEEDS HELP!
-
- Joomla! Intern
- Posts: 76
- Joined: Tue Feb 23, 2010 5:36 pm
Re: ACL issues, please help!
To reproduce...
Create 3 users
Create 3 groups, group1, group2, group3
Create 3 categories, cat1, cat2, cat3
Change ACL to denied in each category to denied for the other 2 groups. Group1 should only have permissions for cat1, group2 permissions on cat2, etc.
Add user1 to to group1, login to the frontend and create a new article. cat1 is visible in the category drop down on the publishing tab.
Add user2 to group2, go back to the frontend and refresh the new article page. cat1 is gone and cat2 is not listed.
Create 3 users
Create 3 groups, group1, group2, group3
Create 3 categories, cat1, cat2, cat3
Change ACL to denied in each category to denied for the other 2 groups. Group1 should only have permissions for cat1, group2 permissions on cat2, etc.
Add user1 to to group1, login to the frontend and create a new article. cat1 is visible in the category drop down on the publishing tab.
Add user2 to group2, go back to the frontend and refresh the new article page. cat1 is gone and cat2 is not listed.
Why are there so many d-bags around here? Joomla is about community AND a CMS! Don't be a d-bag, explain how to fix the person's issue not just 'go look here and read xyz.com'.
Remember, there is a PERSON behind that username that NEEDS HELP!
Remember, there is a PERSON behind that username that NEEDS HELP!
-
- Joomla! Intern
- Posts: 76
- Joined: Tue Feb 23, 2010 5:36 pm
Re: ACL issues, please help!
I can set someone up as SA if you want to look at the demo site...PM me.
Why are there so many d-bags around here? Joomla is about community AND a CMS! Don't be a d-bag, explain how to fix the person's issue not just 'go look here and read xyz.com'.
Remember, there is a PERSON behind that username that NEEDS HELP!
Remember, there is a PERSON behind that username that NEEDS HELP!
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: ACL issues, please help!
Suggest to study https://docs.joomla.org/J3.x:Access_Con ... t_Tutorial
Looks like you shouldn't be using denied!
Looks like you shouldn't be using denied!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Intern
- Posts: 76
- Joined: Tue Feb 23, 2010 5:36 pm
Re: ACL issues, please help!
Care to give me a clue?sovainfo wrote:Looks like you shouldn't be using denied!
Why are there so many d-bags around here? Joomla is about community AND a CMS! Don't be a d-bag, explain how to fix the person's issue not just 'go look here and read xyz.com'.
Remember, there is a PERSON behind that username that NEEDS HELP!
Remember, there is a PERSON behind that username that NEEDS HELP!
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: ACL issues, please help!
See link above!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Intern
- Posts: 76
- Joined: Tue Feb 23, 2010 5:36 pm
Re: ACL issues, please help!
Thanks!
(another helpful reply from a wonderful "joomla champion")
(another helpful reply from a wonderful "joomla champion")
Why are there so many d-bags around here? Joomla is about community AND a CMS! Don't be a d-bag, explain how to fix the person's issue not just 'go look here and read xyz.com'.
Remember, there is a PERSON behind that username that NEEDS HELP!
Remember, there is a PERSON behind that username that NEEDS HELP!