GNPriv: A GeoNetwork privilege configuration

GNPrivR Documentation

A GeoNetwork privilege configuration

Description

This class is an utility to configure privileges

Format

R6Class object.

Details

GeoNetwork REST API - GeoNetwork privilege configuration

Value

Object of R6Class for modelling a GeoNetwork Privilege configuration

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.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

## Not run: 
 priv <- GNPriv$new(group="all", privileges=c("view","dynamic","featured"))

## End(Not run)


geonapi documentation built on April 3, 2025, 5:51 p.m.