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

Allow defining roles in config file #479

Closed
mistercrunch opened this issue May 17, 2016 · 2 comments
Closed

Allow defining roles in config file #479

mistercrunch opened this issue May 17, 2016 · 2 comments
Labels
enhancement:request Enhancement request submitted by anyone from the community inactive Inactive for >= 30 days

Comments

@mistercrunch
Copy link
Member

As a data structure. Most likely a dictionary where the key is the role name, and the value is a dictionary with the following keys:

roles = {
    'myrole': {
         'based_on': 'Alpha',  # some other role
         'perm_whitelist': [],  # a list of perm names that should be added 
         'perm_blacklist': [],  # a list of perm that should be removed
    }
}
@mistercrunch
Copy link
Member Author

@georgeke here's another good ramp task if you want to pick this up

@alanmcruickshank
Copy link
Contributor

@georgeke & @mistercrunch I don't know if it's an easy part to add, but
role inheritance would be really useful at some point too - and not just in
the config file but also in their live incarnations too.

As background, I have a base "viewer" user (very similar to the Gamma
user), and there are some datasources that I'd like to only give access to
for particular users (for arguments sake call them "finance"), but they
should otherwise have exactly the same rights as the "viewer" users. If the
"finance" use could inherit from "viewer" and only add the additional data
sources that would mean not maintaining two parallel roles with almost
identical privileges.

Thanks!

On Tue, 17 May 2016 at 17:47 Maxime Beauchemin notifications@github.com
wrote:

@georgeke https://github.com/georgeke here's another good ramp task if
you want to pick this up


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#479 (comment)


Alan Cruickshank
E: alanmcruickshank@gmail.com
T: +44 770 6851825

@xrmx xrmx added the enhancement:request Enhancement request submitted by anyone from the community label Aug 9, 2016
@kristw kristw added the inactive Inactive for >= 30 days label Mar 20, 2019
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
…e#479)

* add controls to markup chart

* Update controlPanel.js

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
…e#479)

* add controls to markup chart

* Update controlPanel.js

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
…e#479)

* add controls to markup chart

* Update controlPanel.js

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
…e#479)

* add controls to markup chart

* Update controlPanel.js

Co-authored-by: Phillip Kelley-Dotson <pkd@pkd.lan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement:request Enhancement request submitted by anyone from the community inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

4 participants