Skip to content
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

🚀 Feature: Make *editing* team membership *roles* on the console's GUI a less tedious process #1447

Open
2 tasks done
wernerm opened this issue Jul 10, 2023 · 1 comment
Labels
enhancement New feature or request product / auth Fixes and upgrades for the Appwrite Auth

Comments

@wernerm
Copy link

wernerm commented Jul 10, 2023

🔖 Feature description

There should be a simpler and more convenient way to edit (change) a user's roles for a specific team for a specific membership.

We need to edit the membership team roles for users quite often using the console.

At the moment, there is no way (or workflow) in the console GUI to edit roles - you have to remove all roles and create new roles.

IMHO that is actually not the main problem - the biggest issue is that there is only one action to create team membership roles, and that is the + Create membership button on https://{host}:{port}/console/project-{projectId}/auth/teams/team-{teamId}/members.

That is fine, but the process of changing a user's roles becomes tedious, since the process involves the following actions:

  1. Find the user via search on https://{host}:{port}/console/{projectId}/auth
  2. Navigate to the Memberships tab
  3. Delete the user's existing team membership (along with its roles)
  4. Find the user again via search on https://{host}:{port}/console/{projectId}/auth
  5. Select the user - copy the user's email address, since you will need it to create new permissions
  6. Navigate to Auth/Teams on https://{host}:{port}/console/{projectId}/auth/teams
  7. Select the relevant team
  8. Navigate to the Members tab
  9. Hit the + Create Membership button (Have the user's email address ready)
  10. Create the new (actually the updated) membership roles
  11. 😩

This entire process also creates potential for certain problems, since the (long) admin task might be interrupted, in which case the user is left without permissions for the time being (after it has been deleted, but before it is created again, in order to actually change it).

Note: I do appreciate that the best approach would be to create some mechanism to automate the entire process, if it happens frequently enough, on the server-side or platform-side of the product or service being developed - but at the moment we only have the option to edit roles via the administration console.

🎤 Pitch

There are probably a few things that can be done to improve the situation.

A simple (but good) improvement would be to create another + Create Membership action button on the https://{host}:{port}/console/project-{projectId}/auth/user-{userId}/memberships page.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@wernerm wernerm changed the title 🚀 Feature: Make **editing** team membership **roles** on the console's GUI a less tedious process 🚀 Feature: Make *editing* team membership *roles* on the console's GUI a less tedious process Jul 10, 2023
@eldadfux
Copy link
Member

Sounds like a good suggestion. We'll add this to our design backlog.
Just to note, if you are using the API, you could still use this endpoint to update roles without deleting the membership:
https://appwrite.io/docs/client/teams?sdk=web-default#teamsUpdateMembershipRoles

@joeyouss joeyouss self-assigned this Jul 12, 2023
@stnguyen90 stnguyen90 added the product / auth Fixes and upgrades for the Appwrite Auth label Jul 15, 2023
@stnguyen90 stnguyen90 added the enhancement New feature or request label Mar 20, 2024
@eldadfux eldadfux transferred this issue from appwrite/appwrite Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request product / auth Fixes and upgrades for the Appwrite Auth
Projects
None yet
Development

No branches or pull requests

4 participants