Skip to content

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

Open
@wernerm

Description

@wernerm

🔖 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestproduct / authFixes and upgrades for the Appwrite Auth

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions