-
members management
Hi
Does anyone know, is it possible to give access to manage different type of members (different members groups) for some user or usergroup?
For example you have member groups like
-registered
-image_uploaders
-some_member_group
- etc
and some user groups
-admins
-editors
-some_users
I want to give full access to view members for admins (this is easy ;) )
for editros I want to give them access to manage ONLY members from image_uploaders group
for some_users I want to give them access to some_membes_goup, and possibly to image_uploaders
-
Re: members management
yes you can do it, writing a bit of php code
set an onload_callback for the members dca
in the callback:
1. fetch the loggedin user group
2. fetch all the members id that belong to the member_groups you want to enable for the user (based on 1.)
3. set $GLOBALS['TL_DCA'][tl_member]['list']['sorting']['root'] to an array of the id you fetched at point 2
-
Re: members management
Hi,
this is not related to php
I want to create user with specific permissions,
the main idea is to view only members in the one particular group.
and i think solution proposed by ga.n is the answer.