how can add access level to userGroup?

Moderators: mandville, PhilD, General Support Moderators

Post Reply
saman2
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
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.

User avatar
sozzled
Joomla! Champion
Joomla! Champion
Posts: 5612
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

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?
https://www.kuneze.com/blog
Former member of Kunena project team
If you think I’m wrong then say “I think you're wrong.” If you say “You’re wrong!”, how do you know?

saman2
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
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: 7
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...


Post Reply

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