MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / default_policy

Function default_policy

crates/openshell-server/src/auth/authz.rs:135–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 use crate::auth::identity::IdentityProvider;
134
135 fn default_policy() -> AuthzPolicy {
136 AuthzPolicy {
137 admin_role: "openshell-admin".to_string(),
138 user_role: "openshell-user".to_string(),
139 scopes_enabled: false,
140 }
141 }
142
143 fn scoped_policy() -> AuthzPolicy {
144 AuthzPolicy {

Calls

no outgoing calls