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

Dashboard rights #86

Open
Juyoo opened this issue Mar 15, 2018 · 2 comments
Open

Dashboard rights #86

Juyoo opened this issue Mar 15, 2018 · 2 comments
Labels
backend This issue or pull request is related with the Back-End expert This issue or pull request has an expert difficulty level feature This issue or pull request contains a new feature frontend This issue or pull request is related with the Front-End

Comments

@Juyoo
Copy link
Contributor

Juyoo commented Mar 15, 2018

Subject of the issue

Create dashboard rights (Super User / Owners / User)
Put the creator as Super user
When a user is added to a dashboard add him as User, then let Super user and owners change user rights.

Implementation :

  1. Create a new table "project_roles" that hold the 3 needed roles (Super user, Owner, User)
  2. Create a reference table with User, project_role, project as PK

Role definitions :

  1. Super user : Can manage everything on the dashbaord (edit, add/delete user, manage user roles, manage widgets, delete dashboard)
  2. Owner : Can do the same except delete the dashboard
  3. User : can only manage the widgets

Issue type

[] Bug
[] Improvment
[] Documentation
[x] Feature

@Juyoo Juyoo added backend This issue or pull request is related with the Back-End expert This issue or pull request has an expert difficulty level feature This issue or pull request contains a new feature frontend This issue or pull request is related with the Front-End labels Mar 15, 2018
@yodamad yodamad added this to the 3.0 milestone Aug 6, 2018
@yodamad yodamad modified the milestones: 1.1, 1.2 Oct 16, 2018
@yodamad yodamad modified the milestones: 1.2, 2.1 - Improvments Feb 14, 2019
@yodamad
Copy link
Contributor

yodamad commented Feb 14, 2019

@Juyoo Already done ?

@Juyoo
Copy link
Contributor Author

Juyoo commented Feb 15, 2019

Not done already.
At the moment every users added to a dashboard have the same rights

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend This issue or pull request is related with the Back-End expert This issue or pull request has an expert difficulty level feature This issue or pull request contains a new feature frontend This issue or pull request is related with the Front-End
Projects
None yet
Development

No branches or pull requests

2 participants