datastorm-open / shinymanager

Simple and secure authentification mechanism for single shiny applications.
https://datastorm-open.github.io/shinymanager/
386 stars 79 forks source link

Feature request control ui modules based on roles #65

Open vikram-rawat opened 3 years ago

vikram-rawat commented 3 years ago

Is it possible to have a roles table with multiple roles like :

Roles | UI_access Reader | uia, uib, uic Writer | uix, uia, uib Visitor | uia, uix Admin| all

So that roles will only view uifunctions assigned to them. If it requires some manual structure to be followed that's okay too...

This is how a proper management should work. Do you Already support this feature or is it possible to implement this in current scenario??

Please do reply

GeorgeOduor commented 3 years ago

I created a module to handle just this with as simple if-else statements, you can give it a try.

vikram-rawat commented 3 years ago

I was hoping for as a way to make it available for everybody... Through some functions and some tables