Enable role management for team members in settings

We need to allow team owners or admins to change user roles within their team from the application settings. This feature will enable assigning roles such as admin or user, ensuring proper access control.

🔹 Why?

• Gives teams better control over user permissions.

• Allows role delegation without requiring manual support intervention.

• Improves security by restricting sensitive actions to admins only.

🔹 How it works?

1. Add a role management section in the team settings.

2. Define available roles:

Admin → Can manage billing, settings, and user roles.

User → Can access the platform but has limited permissions.

3. Implement role change functionality:

• Only admins can modify roles of other team members.

Confirmation prompts before changing a role.

Prevent users from removing the last admin to avoid orphaned teams.

4. Update API & database to handle role changes securely.

5. Ensure UI updates dynamically when roles are modified.

6. Add security checks & tests to prevent unauthorized role changes.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
💡

Features & Integrations

Date

12 months ago

Author

Julien Le Coupanec

Subscribe to post

Get notified by email when there are changes.