Hi - been trying to understand the group functiona...
# random
j
Hi - been trying to understand the group functionality. i was able to create a group. But when i try to add users to the group, it only allows me to add a subset of the users, not any existing users. Would you be able to point me to any documentation re this? i was following instructions to a T. Also, apologies if i am using an incorrect channel to post this question. Thanks for your help
o
Hi Jamil. Right channel is #C02RTML2WNN You should be to add all the users that belong to the same tenant (tenant are a higher level silo than groups) Otherwise @Ask Inkeep can help
a
Thanks for tagging me @Or Weis. I'll look through relevant sources and get back to you shortly.
You're correct that groups in Permit.io are tenant-scoped, which explains why you can only add a subset of users. (1) When adding users to a group, you can only add users that belong to the same tenant as the group. Groups operate within tenant boundaries, and tenants represent isolated silos of resources and users. (2) Here's what's happening: ​*Tenant-Level Isolation:*​ • Only users within a tenant can be added to groups in that tenant (1) • Tenants are a higher-level organizational structure than groups (3) • Each group belongs to a specific tenant, which you specify when creating the group (1) ​*When Creating a Group:*​ The required fields include the Group Instance Key and Tenant selection. The tenant you select determines which users are available to add to that group. ​*Managing Users in Groups:*​ In the Groups UI, you can add users by typing their email addresses in the Users field. However, the available users are limited to those assigned to the same tenant as the group. ​*Documentation Resources:*​ • Groups UI - Complete guide on managing groups through the UI • Groups API - API reference for programmatic group management (4) • Multi-Tenant Authorization - Understanding tenant structure (2) If you need to add users from different tenants, you would need to either: 1. Assign those users to the tenant where the group exists 2. Create separate groups in each tenant
To learn more, see the sources I considered: [[1] Groups UI](https://docs.permit.io/api/rebac/groups-ui) [[2] Multi-Tenant Authorization](https://docs.permit.io/concepts/multi-tenant-authorization) [[3] Concepts / Glossary](https://docs.permit.io/overview/glossary) [[4] Groups API](https://docs.permit.io/api/rebac/groups)
j
i am using the UI, not APIs. I created a group called test in my tenant.
I am a valid user for this tenant
but it wont list me as a tenant. I tried a few other users who are part of this tenant, but it did not work
It only lists a few users in the pulldown. Maybe its a UI issue?
@Or Weis
o
can you share the list of users for this tenant
note the tenant selector on the top right, and be sure it's not on "all tennats"
j
it is set to the plutotv tenant.
as an example, i am a user under the plutotv tenant, but i am unable to add myself to the group.
another id is “luis.albarenga@pluto.tv”.
Screenshot 2026-03-10 at 3.34.54 PM.png
o
I think you are right this is a UI issue
I’ll open a ticket for it
Meanwhile this should work via the API
j
Thanks Or
I tried from the api, and its good