What is the best way to give a particular user permission to add users without having them see all the other active users accounts?

For example, User A is part of Space A. When I give "administer user" permission to user A, they see ALL of the current users in the system, those that belong in other Spaces. I either (1) Don't want to have them see the other registered users in the system, or (2) only see the users that are part of their team.

What is the best solution to resolve this?

I'm thinking I could possibly add a "Rule" to redirect the user back to the home page after they add a user. But, then they wouldn't have the ability to deactivate user later unless I create a Views page to list users or something.

Comments

KristineC created an issue.

Argus’s picture

You can add the "Add External User" Pane to the Space's Member page, found at admin/structure/pages/nojs/operation/page-space_members/handlers/page_space_members_panel_context/content

  • Go to Drupal Menu > Structure > Pages
  • Search for "Member" and Edit that page (page-space_members)
  • In the left menu choose "Content"
  • In the Sidebar click on the cog-wheel to add Panes
  • From Existing Content, choose the "OA Admin" tab
  • Add the External User Pane
  • Now any admin user can add people that are not registered to the site yet, without seeing any other users that do not belong to their Space