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