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

CRAN package #2

Open
RoyalTS opened this issue Jul 29, 2016 · 6 comments
Open

CRAN package #2

RoyalTS opened this issue Jul 29, 2016 · 6 comments

Comments

@RoyalTS
Copy link

RoyalTS commented Jul 29, 2016

Could you put this package on CRAN?

@MarkEdmondson1234
Copy link
Owner

I could, but there are only two functions. Are there other features I could perhaps add? Otherwise it may be easiest for you to copy paste the functions into your own project.

@RoyalTS
Copy link
Author

RoyalTS commented Aug 2, 2016

Can't think of anything else so yeah, I may just nick the one function I actually need.

@RoyalTS
Copy link
Author

RoyalTS commented Aug 3, 2016

Actually – this may be beyond the scope of the package – but it would be great if one could attach roles to the Google accounts and allow users differential access to features based on these roles. Some parts of the Google Apps API sound like that should be possible but I haven't the foggiest how one would actually do this.

@MarkEdmondson1234
Copy link
Owner

That is doable, an extension of the whitelist() function that instead of TRUE or FALSE gives a rank, then its up to you to show or hide content based on that rank.

I think it would need to be configured what roles you want yourself (several lists of emails you want in each level) - the Google Apps API I think is just for user admin of that.

@RoyalTS
Copy link
Author

RoyalTS commented Aug 3, 2016

The way I'm currently using the package is with more "local" solution. I have a data.frame with user emails and associated permissions and then grant access based on whether I find the appropriate permission in the data frame for the logged in user. But that is pretty hacky. Would be great to be able to keep all those permissions in the Google account somehow.

@ignacio82
Copy link

I have an idea for a function, not sure if it is doable. A shiny module that creates a modal window for authentification. The window blocks the use of the shiny app, and it can only be closed if you are on a provided whitelist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants