Skip to contents

This class models a GeoServer access control list layer rule

Format

R6Class object.

Value

Object of R6Class for modelling a GeoServer access control list layer rule

Details

Geoserver REST API Access Control List Layer Rule

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geosapi::GSRESTResource -> geosapi::GSRule -> GSLayerRule

Public fields

roles

one or more roles

Methods

Inherited methods


Method new()

Initializes a GSLayerRule

Usage

GSLayerRule$new(
  xml = NULL,
  ws = NULL,
  lyr,
  permission = c("r", "w", "a"),
  roles
)

Arguments

xml

an object of class xml_node-class

ws

the resource workspace. Default is NULL

lyr

the target layer to which the access control should be added

permission

the rule permission, either r (read), w (write) or a (administer)

roles

one or more roles to add for the rule


Method clone()

The objects of this class are cloneable with this method.

Usage

GSLayerRule$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.