ACL issues, please help!

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

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.
Locked
prophotodx
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Tue Feb 23, 2010 5:36 pm

ACL issues, please help!

Post by prophotodx » Thu Jan 29, 2015 3:17 pm

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

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4025
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

Re: ACL issues, please help!

Post by itoctopus » Thu Jan 29, 2015 6:43 pm

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.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter

prophotodx
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Tue Feb 23, 2010 5:36 pm

Re: ACL issues, please help!

Post by prophotodx » Thu Jan 29, 2015 7:59 pm

itoctopus 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.
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 group1
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!

prophotodx
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Tue Feb 23, 2010 5:36 pm

Re: ACL issues, please help!

Post by prophotodx » Thu Jan 29, 2015 8:02 pm

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

prophotodx
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Tue Feb 23, 2010 5:36 pm

Re: ACL issues, please help!

Post by prophotodx » Thu Jan 29, 2015 8:05 pm

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!

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: ACL issues, please help!

Post by sovainfo » Thu Jan 29, 2015 8:44 pm

Suggest to study https://docs.joomla.org/J3.x:Access_Con ... t_Tutorial

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!

prophotodx
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Tue Feb 23, 2010 5:36 pm

Re: ACL issues, please help!

Post by prophotodx » Thu Jan 29, 2015 9:16 pm

sovainfo wrote:Looks like you shouldn't be using denied!
Care to give me a clue?
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!

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: ACL issues, please help!

Post by sovainfo » Thu Jan 29, 2015 9:19 pm

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!

prophotodx
Joomla! Intern
Joomla! Intern
Posts: 76
Joined: Tue Feb 23, 2010 5:36 pm

Re: ACL issues, please help!

Post by prophotodx » Thu Jan 29, 2015 9:21 pm

Thanks!

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


Locked

Return to “Administration Joomla! 3.x”