Skip to main content

Mountain/IPC/Permission/Role/ManageRole/
CreateUserRole.rs

1
2//! Standard `user` role - read-only access to file, config,
3//! and storage subsystems. The default role assigned when no
4//! roles are supplied in a `SecurityContext`.
5
6use crate::IPC::Permission::Role::ManageRole::Role;
7
8pub fn Fn() -> Role::Struct {
9	Role::Struct::New(
10		"user".to_string(),
11		vec!["file.read".to_string(), "config.read".to_string(), "storage.read".to_string()],
12		"Standard user with read access".to_string(),
13	)
14}