Skip to contents

This class is an utility to configure privileges

Format

R6Class object.

Value

Object of R6Class for modelling a GeoNetwork Privilege configuration

Details

GeoNetwork REST API - GeoNetwork privilege configuration

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

group

group

privileges

privileges

Methods

Public methods


Method new()

Initializes a GNPriv object

Usage

GNPriv$new(group, privileges)

Arguments

group

group

privileges

privileges


Method clone()

The objects of this class are cloneable with this method.

Usage

GNPriv$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

# \dontrun{
 priv <- GNPriv$new(group="all", privileges=c("view","dynamic","featured"))
# }