Limit Admins to specific roles


Home Forums Front End PM PRO Limit Admins to specific roles

This topic is: Not Resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45951
    Craig Tucker
    Participant

    Hello Shamim,

    I am setting up the plugin to run client to admin. I have several admins. They work with specific client roles. I would like to limit the access of the admin to the roles to which they are assigned. So, I would like the search and directories to associate the admin to their assigned role. I do not want them to have access to other roles. Is there a filter I can use to help make this happen?

    Craig

    #45952
    Craig Tucker
    Participant

    It looks like fep_directory_arguments may do it?

    #45953
    Shamim Hasan
    Keymaster

    Do you want such a way that an Editor role user only see other Editor role users? you can use fep_directory_arguments and fep_filter_rest_users_args

    #45955
    Craig Tucker
    Participant

    Hello Shamim,

    I am finally getting to my project. I want Doctors to only see their patients in their mail box. I have a clinic with three doctors. I want all doctors on FEP. When patients register they are assigned a user role associated with their doctor.

    I can see how I can use fep_directory_arguments so that if the doctors only their patients in the directory.

    I also need for doctors to only see their patients when they look at the message board. Is there a filter I can use for how messages load into the first page of the message board?

    Or, will I need to edit the template files? If so, which are associated with the front page of the message board?

    Thank you,
    Craig

Viewing 4 posts - 1 through 4 (of 4 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.