View source: R/access_levels.R
db_access_level_create | R Documentation |
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" )
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' |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.