Hi all, I wandered here via the "Get Support" opti...
# permit-saas
u
Hi all, I wandered here via the "Get Support" option in Permit's app, would appreciate your help 🙂 I noticed more than once when trying to add a user to a tenant, that I get the error: "User with this key already exists". But eventually the user is added to the tenant successfully. So I understand that behind the scenes users were created before I tried to add them to a tenant, but without associating them to any tenant. I'm familiar with this "ghost users" already by working with Auth0, they are providing a "User Management" section where I can see ALL the users, even if they are not associated to a single tenant. So my question is - do you have such page in your app, where I can see all the users, no matter if they are associated with tenants or not? Because I didn't find such page. Thanks in advance!
a
Hi @uziel.davidi, I'm an AI assistant for Permit.io. I'll analyze available sources and get back to you shortly.
The User Management screen in Permit.io shows users within the context of a selected tenant (1) (2) . Users in Permit.io are nested under tenants, and each user can be associated with multiple tenants (2) . To view users in the User Management screen, you need to select a specific tenant first, as the new user will be created in the currently selected tenant (1) . Each tenant is a separate, isolated unit with its own set of users, data, configurations, and permissions . If you are using multiple tenants, you need to select the relevant one to see its users . The documentation indicates that users are contained within tenants and can only access the resources within their tenant (2) . You can use the same user ID within multiple tenants, so a user can belong to multiple tenants . Based on the available documentation, there isn't a mention of a global "all users across all tenants" view in the UI. The User Management page appears to be tenant-scoped, meaning you'd need to switch between tenants to see which users belong to each one (1) (2) . If you're encountering "ghost users" that exist but aren't showing up in your tenant view, you might want to check if they were created in a different tenant or environment. You can switch between tenants using the tenant selector in the User Management screen .
To learn more, see the sources I considered: [[1] Sync Users](https://docs.permit.io/how-to/sync-users) [[2] Policy Basics](https://docs.permit.io/how-to/build-policies/policy-basics)
Appreciate the feedback! Feel free to ask me again with additional guidance or context.
u
Would appreciate a customer success reply
d
Hi @uziel.davidi If you go to Directory -> Users in your environment in app.permit.io , you can view users in "All tenants", users that dont belong to tenants etc.
u
Thanks for your reply @david! Although I still don't see the users that have no tenants with this option
d
You can select 'Unassigned Users'. That shows you all users who have no tenants assigned
u
ok I will check it thanks a lot!
🚀 1