Skip to main content

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

1#![allow(non_snake_case)]
2
3//! Standard `developer` role - read + write across files and
4//! storage; read-only on config.
5
6use crate::IPC::Permission::Role::ManageRole::Role;
7
8pub fn Fn() -> Role::Struct {
9	Role::Struct::New(
10		"developer".to_string(),
11		vec![
12			"file.read".to_string(),
13			"file.write".to_string(),
14			"config.read".to_string(),
15			"storage.read".to_string(),
16			"storage.write".to_string(),
17		],
18		"Developer with read/write access".to_string(),
19	)
20}