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.
db_access_level_create(
con,
access_level_name,
access_level_description = NULL,
access_level_default = NULL,
schema = "timeseries"
)
RPostgres connection object.
character name of the access level to insert.
character description of the access level. Defaults to NA.
set if the new access level should be the default. Defaults to NA.
character name of the database schema. Defaults to 'timeseries'
returns a list containing the parsed JSON status feedback from the DB.
Other access levels functions:
change_access_level
,
db_access_level_delete()
,
db_access_level_list()
,
db_access_level_set_default()
,
db_ts_find_keys()