how can add access level to userGroup?

Moderators: mandville, 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
saman2
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Jan 18, 2018 7:36 pm

how can add access level to userGroup?

Post by saman2 » Thu Jan 18, 2018 7:51 pm

Hi
Is there any php function to add joomla userGroup to some ACL? i can not find anything.I want something such as function when we want add user to joomla group.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: how can add access level to userGroup?

Post by sozzled » Thu Jan 18, 2018 8:02 pm

I did not find much documentation on the subject. Perhaps https://api.joomla.org/cms-3/classes/Jo ... _setGroups may help?

saman2
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Jan 18, 2018 7:36 pm

Re: how can add access level to userGroup?

Post by saman2 » Thu Jan 18, 2018 9:43 pm

sozzled wrote:I did not find much documentation on the subject. Perhaps https://api.joomla.org/cms-3/classes/Jo ... _setGroups may help?
thank you sozzled but it seems not thing that i want...look at:
https://github.com/joomlagovbr/joomla-3 ... s.php#L331

saman2
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Jan 18, 2018 7:36 pm

Re: how can add access level to userGroup?

Post by saman2 » Fri Jan 19, 2018 8:52 pm

what is your advise about using direct query to database according joomla functions? is it final way or is there a better way?joomla master please help...


Locked

Return to “Access Control List (ACL) in Joomla! 3.x”