<@U02BS9YFFL7> <@U029Z7ULU7J> We would like to use...
# teams
s
@zomars @Ali We would like to use team impersonation for our self-hosted calcom (version 2.4.1.) but I can't find the option "Impersonate" in the dropdown menu of the team member – see screenshot attached. In your current calcom version its available – see second screenshot. Is it only available with the recent version of calcom? Or how can i impersonate to team member's account with version 2.4.1.?
z
Yeah, we recommend upgrading. I don't recall when this was introduced exactly
s
@zomars team impersonation was already introduce in V 1.9 https://cal.com/blog/cal-v-1-9#:~:text=Team%20Impersonation But i can't find any option to impersonate as a admin to a member's account (although the impersonation is allowed)
z
Are you a team admin or a full instance admin?
Also, the member must have "enable impersonation" enabled
s
@zomars im team admin and members have impersonation enabled. Still no option to impersonate is shown in the interface.
How do i create a full instance admin on self-hosted version?
z
You need to set the role as ADMIN and have a strong password minimum 15 characters for ADMIN https://github.com/calcom/cal.com/blob/ce8e1d52da4689fd720b698eca1bacf40a56408f/packages/lib/auth.ts#L43-L66
cc @Ali do we have this documented somewhere?
s
thanks @zomars for the hint! However when trying to open
/settings/admin
it still redirects me to
/settings/my-account/profile
in my ADMIN account (incl. a strong password)
z
Can you check you cookie session if it says (ADMIN or INACTIVE_ADMIN) ?
If it it's the latter then you should logout and login again.
And if that doesn't work it means that your password is not strong enough.
I know this is a PITA but we had to add this due to security compliance.
s
where do i find the cookie session? can't see the state of admin
z
Sorry. I've mean the session endpoint:
s
@zomars thx a lot! Yeah the session endpoint actually shows that the account's role still is "USER" although it's "ADMIN" in the DB. Will logout + login solve that issue?
z
it should
s
@zomars great thanks! I could make it work but there are no users displayed for
settings/admin/users
. Any idea what could be the reason?
z
That user listing is still a WIP
You can access the impersonation screen and type the username you want to impersonate