check_access: Check access

check_accessR Documentation

Check access

Description

Check access

Usage

check_access(
  id,
  principal_id,
  access_type = c("CREATE", "UPDATE", "CHANGE_SETTINGS", "DOWNLOAD", "MODERATE", "READ",
    "CHANGE_PERMISSIONS", "DELETE")
)

Arguments

id

The benefactor entity.

principal_id

Group(s) for which to check the access type.

access_type

Which access type(s) to check for; result summarizes whether there are permissions for all types specified.


nf-osi/nfportalutils documentation built on Feb. 26, 2024, 1:05 p.m.