Get authorization group for Shiny app user on RStudio Connect

January 6, 2020 @smingerson Sean Ingerson

@smingerson wrote:

I have an application where I would like the data filtered based upon group membership. Suppose that authentication takes place with double-bind LDAP/AD.

  1. Does the Shiny session object expose this in any way? I see there is a groups element, but I can't find what that actually represents.
  2. Is there an RStudio Connect API method I can use from the Shiny app to get this information?

My end-goal is something along the lines of


data %>% filter(Access %in% authorization_groups)
# Returns rows where data column "Access"  matches a value in authorization_groups

Posts: 13

Participants: 2

Read full topic

Previous Article
Unable to deploy shiny app to connect when using R pkg - "testthat" through R Version - 3.4.3, works fine with R version - 3.5.1
Unable to deploy shiny app to connect when using R pkg - "testthat" through R Version - 3.4.3, works fine with R version - 3.5.1

@PRG wrote: Hello, Unable to deploy the shiny app to R Studio Connect when using...

Next Article
directory_index
directory_index

@aampohl wrote: I've been having trouble getting the recent shiny server to work...