MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / allows_workspace

Method allows_workspace

atomic-identity/src/delegation.rs:348–350  ·  view source on GitHub ↗

Check if this scope allows access to a workspace.

(&self, workspace: &str)

Source from the content-addressed store, hash-verified

346
347 /// Check if this scope allows access to a workspace.
348 pub fn allows_workspace(&self, workspace: &str) -> bool {
349 matches_any(&self.workspaces, workspace)
350 }
351
352 /// Check if this scope allows access to a project.
353 pub fn allows_project(&self, project: &str) -> bool {

Callers 1

allowsMethod · 0.80

Calls 1

matches_anyFunction · 0.85

Tested by

no test coverage detected