Advertisement

Role-based ACL?

Need help with the Administration of your Joomla! 5.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
Post Reply
MarkRS
Joomla! Explorer
Joomla! Explorer
Posts: 385
Joined: Thu Oct 29, 2009 8:28 am
Location: UK

Role-based ACL?

Post by MarkRS » Thu Mar 06, 2025 3:15 pm

Are any of you developers building extensions that require role-based ACL? That would be an extension that envisages multiple administrators with different access points and rights.

I would have thought that this is a requirement for a serious organisation's needs, but I seem to be in a minority.
I found this article https://magazine.joomla.org/all-issues/ ... -based-acl talking about it, but look at the date!

While it might be a fairly simple idea, it also requires creating user groups, view levels, dashboards, menus, and modules on installation, as well as setting up access rights for those groups. Some of this seems very not-simple given the built in facilities in J! Looks like I often need to resort to directly accessing the relevant tables.

Anyone here doing this and have some thoughts to share on it?
Last edited by toivo on Wed Mar 19, 2025 8:43 pm, edited 1 time in total.
Reason: mod note: moved from 5.x Coding
It's a community, the more we all contribute, the better it will be.

Advertisement
User avatar
ceford
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3091
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Role-based ACL?

Post by ceford » Thu Mar 06, 2025 4:42 pm

Not an extension, but this article on Workflows may be of interest:

https://jdocmanual.org/en/jdocmanual?ar ... -example-2

VikDexter1
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Sep 01, 2022 4:54 pm

Re: Role-based ACL?

Post by VikDexter1 » Thu Mar 06, 2025 5:36 pm

Role-based ACL is nice for structured stuffs but Joomla’s built in can be pain. Direct DB changes usually appear to become obligatory in order to situate well known access controls.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44993
Joined: Sat Apr 05, 2008 9:58 pm

Re: Role-based ACL?

Post by Webdongle » Thu Mar 06, 2025 8:50 pm

During installation of an extension
*User groups can be created
*View/Access levels can be created and User groups can be set in them
*Users can be created and assigned to User groups and given permissions
https://docs.joomla.org/J4.x:Creating_a ... all_Script
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Advertisement

Post Reply

Return to “Administration Joomla! 5.x”