R/access.R

Defines functions access

Documented in access

#' access 
#'
#' access 
#'
#'
#' @inheritParams common_attributes 
#' @param allow A rule that grants a permission type. See [allow()]
#' @param deny A rule that revokes a permission type. See [deny()]
#' @param references The id of another element in this EML document to be used to here in this context. See [references()]
#' @param order The order in which the allow and deny rules should be applied.
#' @param authSystem The authentication system is used to verify the user or group to whom access is allowed or denied.
#'
#' @return a access list object
#'
#' @export

 access <- function(allow = NULL,
 deny = NULL,
 references = NULL,
 id = NULL,
 system = NULL,
 scope = NULL,
 order = NULL,
 authSystem = NULL){ 
Filter(Negate(is.null),
 list(
allow = allow,
deny = deny,
references = references,
id = id,
system = system,
scope = scope,
order = order,
authSystem = authSystem))}
cboettig/build.eml documentation built on May 8, 2019, 8:57 p.m.