module CaidoMutations::Scopes

Defined in:

client/mutations.cr

Class Method Summary

Class Method Detail

def self.create(name : String, allowlist : Array(String), denylist : Array(String) = [] of String) #

Create a new scope


[View source]
def self.delete(scope_id : String) #

Delete a scope


[View source]
def self.rename(scope_id : String, name : String) #

Rename a scope


[View source]
def self.update(scope_id : String, name : String | Nil = nil, allowlist : Array(String) | Nil = nil, denylist : Array(String) | Nil = nil) #

Update a scope


[View source]