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

How to limit access to an app? #208

Open
fishscene opened this issue Dec 10, 2020 · 0 comments
Open

How to limit access to an app? #208

fishscene opened this issue Dec 10, 2020 · 0 comments

Comments

@fishscene
Copy link

fishscene commented Dec 10, 2020

I have 2 "apps" (Printer config pages).

I want "user A" to have access to "Printer A"
I want "user B" to have access to "Printer A" and "Printer B"

Is there any way I can do this?

The following makes sense to me, but this does not appear to be how DashMachine works:

[UserA]
groups = PrinterA_group

[UserB]
groups = PrinterB_group,PrinterA_group

[PrinterA_group]
type = group

[PrinterB_group]
type = group

[Printer A]
groups = PrinterA_group

[Printer B]
groups = PrinterB_group

This way, UserA sees "Printer A", but not "Printer B".
UserB sees both printers.

Right now, I can't find anyone, anywhere who wants to do this or has an example.
Feel free to build a basic config from scratch. I can translate things from there.

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