0
I have sales managers who manage their own people. Do I need to re-write? or is there a more simple way? I see most all is mixed in with either "$this->ion_auth->in_group('owner')" or "$this->Owner" or others... I prefer "class RBAC" over ION Auth as it makes it much easier to modify groups in these situations. Hoping to find a more simple way to modify Admin permissions...
0
Hello,
No. The Admin has fixed permnissions and only can be chnaged with code modifications. The only option to check group is $this->ion_auth->in_group('admin')
The $this->Owner
is in the core controller just using the same link to check the group.
Thank you
0
I have tried using in places $this->ion_auth->in_group('owner') || $this->ion_auth->in_group('admin') and
$this->ion_auth->in_group(['owner', 'admin']) and it does not work correctly... If I set to 'admin' then owner does not work.
0
Hello,
I have no clue what doesn't work correctly but the $this->ion_auth->in_group('owner') || $this->ion_auth->in_group('admin')
will allowed both owner and admin groups.
Thank you
We use Cookies
We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.