Custom admins are not able to impersonate other non-admin users | Community
Skip to main content
March 18, 2019
Solved

Custom admins are not able to impersonate other non-admin users

  • March 18, 2019
  • 1 reply
  • 1047 views

Hey,

Problem statement

I have a custom group with admin permissions given to it. Any user with this group should be able to impersonate other non-admin users. I have given all the permissions so that's not the issue. I tried adding a user under the impersonator tab and this works but this is not what I want since I can't do this for each user.

Is there a way to achieve this?

I think it takes us to this location - /libs/granite/ui/components/shell/userproperties

But I'm not sure what is going wrong. When I login as a custom admin and try to impersonate a non-admin user, it logs me out. But it works when I try it as an admin.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

admin is a special user in aim it is like superuser, it can do everything. Custom group with admin permission is not equivalent to admin user

By default, only CQ admin user can impersonate others for testing purposes. Often times, you need a non-admin user to test out others' account. For that, it is possible for a non-admin user to impersonate another person as long as it was set-up before hand.

Say you are 'A' and wish to impersonate 'B', you would need to open up B's profile (using 'admin' account), and add 'A' as an impersonator:

  1. Log on as Admin.
  2. Pull up user profile of user A http://<host>:<post>/useradmin
  3. Search for 'B', double click on 'B'.
  4. Click on B's 'impersonator' tab.
  5. Search for 'A' on the upper-left search box.
  6. Drag 'A' into the right 'impersonator' panel.
  7. save

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 18, 2019

admin is a special user in aim it is like superuser, it can do everything. Custom group with admin permission is not equivalent to admin user

By default, only CQ admin user can impersonate others for testing purposes. Often times, you need a non-admin user to test out others' account. For that, it is possible for a non-admin user to impersonate another person as long as it was set-up before hand.

Say you are 'A' and wish to impersonate 'B', you would need to open up B's profile (using 'admin' account), and add 'A' as an impersonator:

  1. Log on as Admin.
  2. Pull up user profile of user A http://<host>:<post>/useradmin
  3. Search for 'B', double click on 'B'.
  4. Click on B's 'impersonator' tab.
  5. Search for 'A' on the upper-left search box.
  6. Drag 'A' into the right 'impersonator' panel.
  7. save
Arun Patidar