Results 1 to 3 of 3

Thread: members management

  1. #1
    User
    Join Date
    06-20-09.
    Posts
    64

    Default 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

  2. #2
    User
    Join Date
    06-19-09.
    Posts
    328

    Default 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
    Consulenza Contao CMS https://www.intco.it

  3. #3
    User
    Join Date
    06-20-09.
    Posts
    64

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •