Skip to contents

Get authorized data for a user

Usage

get_authorized_data(r, table, data = tibble::tibble())

Arguments

r

Shiny reactive value, used to communicate between modules

table

Name of the table in the database (character)

data

If data is not r[[table]] (tibble / dataframe)

Details

Some data have a restricted access. This function filter the data the user has access to.

Examples

if (FALSE) {
get_authorized_data(r = r, table = "plugins")
}