db_access_level_create {timeseriesdb}R Documentation

Create a New Role (Access Level)

Description

Creates a new role in the database. Roles represent access levels and together with the assignment of roles to time series, versions of time series or datasets define who is allowed to access a particular series.

Usage

db_access_level_create(
  con,
  access_level_name,
  access_level_description = NULL,
  access_level_default = NULL,
  schema = "timeseries"
)

Arguments

con

RPostgres connection object.

access_level_name

character name of the access level to insert.

access_level_description

character description of the access level. Defaults to NA.

access_level_default

set if the new access level should be the default. Defaults to NA.

schema

character name of the database schema. Defaults to 'timeseries'

Value

returns a list containing the parsed JSON status feedback from the DB.

See Also

Other access levels functions: change_access_level, db_access_level_delete(), db_access_level_list(), db_access_level_set_default(), db_ts_find_keys()


[Package timeseriesdb version 1.0.0-1.1.2 Index]