show_user_namespace_permissions: Function to show what permissions a user has to a namespace...

View source: R/admin-api.R

show_user_namespace_permissionsR Documentation

Function to show what permissions a user has to a namespace according to the schema

Description

Function to show what permissions a user has to a namespace according to the schema

Usage

show_user_namespace_permissions(
  pkg_schema,
  con,
  user_name = get_logged_in_user(con),
  namespace
)

Arguments

con

a RevealConnection object

user_name

the user for whom to show permissions. If NULL (default), use the current logged in user

namespace

the namespace for which to show permissions

Value

a list with names c("c", "r", "u", "l", "d") with value TRUE if the user has the corresponding permission in the specified namespace


Paradigm4/revealcore documentation built on May 21, 2023, 9:57 a.m.