question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add basic roles and permissions

See original GitHub issue

Related issues:

Description: What is it?

Ability for users to have different permissions. The simplest starting point would be role-based access controls, where each user can have one of a select number of roles: viewer, editor, admin

Problem: What problem does this solve?

Currently all users are able to perform any action in Lightdash. This doesn’t serve users that need to control how their Lightdash instance is maintained and supported. They need to hide dangerous actions like revoking users or deleting important dashboards.

(Optional) Why: How do we know this is a real problem and worth solving?

Previous issue and discussions: #49

Success: How will we know if we’ve solved this problem?

Lightdash admins begin assigning different permissions to their Lightdash users

Audience: Who are we building this for?

This would particularly benefit Lightdash admins adding team members that don’t need to edit any of the dashboards but need view access. This is a really common pattern for BI.

What: Roughly, what does this look like in the product?

Screenshot 2022-01-05 at 14 16 13

Admins can enter the existing users list and assign roles to each user.

We would also provide useful error messages when users are not authorised to use an action. "You are not able to resize this dashboard because your user has the View-only role. Please contact your admin for help admin@your-co.com)

Additionally we should provide a list of actions available to each role on docs.lightdash.com

Viewers: viewers can see dashboards, charts, and saved queries Editors: all viewers + can edit dashboards, charts, project settings Admins: all editors + can edit application settings, user settings

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
ZeRegocommented, Jan 18, 2022

Where do we envision this screen living ? like an additional option that can be accessed from the settings menu, or as a new page ?

I think it’s a matter of having a dropdown in the existing user management page. Screenshot 2022-01-18 at 14 01 16

0reactions
TuringLovesDeathMetalcommented, Jan 19, 2022

+1 to the idea of the card expanding. Modal on top of modal sounds chaotic 😅 Then maybe having cancel as a secondary action button beside update which would bring you back to the list of users?

Read more comments on GitHub >

github_iconTop Results From Across the Web

IAM basic and predefined roles reference - Google Cloud
This page lists all basic and predefined roles for Identity and Access Management (IAM). To learn more about IAM roles, see Roles and...
Read more >
Add Permissions to Roles - Auth0
Go to Dashboard > User Management > Roles and click the name of the role to view. ... Click the Permissions tab, then...
Read more >
Creating roles and assigning permissions - IBM
Assign roles to users by adding users or groups to teams. You cannot assign a role to a user directly; users must be...
Read more >
Users, roles and permissions - Sirv
Sirv provides 7 predefined roles: Primary Owner, Owner, Admin, Editor, Contributor, Viewer and Billing. Each role has permission to perform the tasks shown ......
Read more >
Users, roles, permissions (original user model)
To assign a custom add-on role for a User or Restricted User in your account: Go to user menu > Account settings >...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found