Skip to main content

Constants for the fields of the /grant/permission/system request.

Option fields

permission

Constants for permission.

pub const SYSTEM_ADMIN: &str = “system_admin”;

Full access to all data and system functions.

pub const SYSTEM_READ: &str = “system_read”;

Read-only access to all tables.

pub const SYSTEM_SEND_ALERT: &str = “system_send_alert”;

Send system alerts.

pub const SYSTEM_USER_ADMIN: &str = “system_user_admin”;

Access to administer users and roles that do not have system_admin permission.

pub const SYSTEM_WRITE: &str = “system_write”;

Read and write access to all tables.