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

feat: team management and role based access control #1044

Open
tanmoysrt opened this issue Sep 30, 2024 · 0 comments
Open

feat: team management and role based access control #1044

tanmoysrt opened this issue Sep 30, 2024 · 0 comments

Comments

@tanmoysrt
Copy link
Member

tanmoysrt commented Sep 30, 2024

Swiftwave is lacking basic team management functionality. Currently, you can add new admin to system and that's all.


Proposed Solution -

Roles -

  1. Admin User - Has access to everything.
  2. Standard Read Write User - Has access to only user-created resources

Standard users will not have access to -

  • Server management + logs
  • System logs + configuration + restart
  • User Management

Record access of resources to users in a table -

type ResourceAccess struct {
    UserID       string `json:"user_id"`
    ResourceType string `json:"resource_type"`
    ResourceID   string `json:"resource_id"`
}

With this method, it will be possible to share access of resources to multiple users.

Additional Features -
Implement a SMTP module to send mails. Handle message by queueing to have a smooth experience to user.

@tanmoysrt tanmoysrt pinned this issue Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant