-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter user management groups by the organization of the admin #47
Conversation
Just a few things I noticed. I’m not sure who can answer these questions. @jefmoura @glind Firstly, how do we define what an org admin is? Is it really as simple as checking for the string ‘admin’? Or would it make more sense to use a certain combination of permissions? I don't think this question makes sense but I'm going to ask anyway to clarify: Is it possible to be part of multiple core groups that are attached to different organizations without being a global admin? Or are all of your core groups always part of your organization? For example, Do we allow this? |
@yasmin2496 Let's ignore my second question for now. I'll discuss this with Greg and Jeferson later. The core groups can be called anything and don't necessarily need to have |
@andrewshortall I will update the |
@andrewshortall I have a small doubt here. Both Org and Global admin have the same permission level (read, write, update, delete). How can we then distinguish which is which? |
@RadhikaPPatel there's a flag In my opinion it doesn't make sense to base the permission on a string. Someone with the same permissions as an admin group should have the same access. The |
As of right now a user is a member of only one organization. Data can be shared between organizations but users can not. |
I think for this particular check it only affects the global admin as they are the only ones who will be able to see more then one organization at a time in a multi-tenant deployment of buildly. The definition of an admin is a good point though. Is it solely defined by the permissions or can an editor have the same permissions but not be an "admin" in which case the label is what matters.. or is it both. Label + Permissions = "admin" ?? |
In my opinion, it's not clear that someone needs to include the label 'admin' in the title if they want that user group to have these permissions. Since we allow custom naming, we shouldn't be forcing a label. If we need to differentiate between someone who has all permissions and someone who is an admin, we should add another flag on the backend for this. Otherwise, what happens if you accidentally rename the |
@yasmin2496 Greg, Karrla and I discussed the issue and we decided that the best solution for now is to use the permissions to determine the admin access (but the label should not matter). |
@andrewshortall Okay got it. I will implement the change as we have discussed with permissions [read, write, update, delete] for identifying Admin in the system. To differentiate between Organization Admin and Global Admin, will use |
Purpose
To show a filtered view of users by admin's organization details. For global admin, the user's organization name is to be shown also
Further info
1. Global Admin - See all users with their organization name besides
2. Admin - See users filtered by organization
Ticket number
14
Issue Link
buildlyio#14