creating a 'registered only' ACL group

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.
Locked
ThePiston
Joomla! Guru
Joomla! Guru
Posts: 640
Joined: Mon Nov 07, 2005 3:45 am
Contact:

creating a 'registered only' ACL group

Post by ThePiston » Mon Dec 10, 2012 12:07 am

I created a new access group called "Registered Only" and I only ticked the "Registered" checkbox - nothing else.

I then set a test user to ONLY group "Author".

[bug]When this "Author" user logs in he can see items that are set to the "Registered Only" group.[/bug]

Isn't this a glitch? Since the Registered Only group access was only set for Registered to view, shouldn't these items not show for anyone other than Registered?

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

Re: creating a 'registered only' ACL group

Post by sovainfo » Mon Dec 10, 2012 5:44 am

No, this is not a bug. An Author inherits from Registered. As do Editor, Publisher and Shop Suppliers. So anything that is set for Registered applies to Author, Editor, Publisher and Shop Suppliers as well. It doesn't apply to Manager. Administrator and Super Users because they don't inherit from Registered.
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!

ThePiston
Joomla! Guru
Joomla! Guru
Posts: 640
Joined: Mon Nov 07, 2005 3:45 am
Contact:

Re: creating a 'registered only' ACL group

Post by ThePiston » Mon Dec 10, 2012 4:10 pm

shouldn't the Author, Editor, and Publisher checkboxes be connected to Registered so that if you click on Registered the others tick as well? Makes no sense to make it look like you're doing what you want but behind the scenes it's all tied together. The UI should be tied together as well.

So is it not possible to have a menu item seen by an Author and not by Registered?

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

Re: creating a 'registered only' ACL group

Post by sovainfo » Mon Dec 10, 2012 5:16 pm

Some extensions work that way, ticking inheriting groups. Would make more sense.

It is possible to have a menuitem seen by an Author and not by a Registered. It is the other way around that is not possible. So the menuitem that is visible to Registered is also visible to Author and to Editor and Publisher for that matter. This only applies to the action see, other actions allow overriding allow into not allowed.
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!

ThePiston
Joomla! Guru
Joomla! Guru
Posts: 640
Joined: Mon Nov 07, 2005 3:45 am
Contact:

Re: creating a 'registered only' ACL group

Post by ThePiston » Mon Dec 10, 2012 5:31 pm

I got it to work by creating a new group under Public that has the same attributes as Author but none of the inherited aspects of Registered.

Someone really ought to make the backend groups all tick when their access is inherited. in other words, if you put a tick in "Registered" the other groups that inherit this access should also tick.


Locked

Return to “Administration Joomla! 3.x”