class Utils::PlaceOSHelpers::PermissionsMeta

Included Modules

Extended Modules

Defined in:

controllers/utilities/placeos-helpers.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def admin : Array(String) | Nil #

[View source]
def deny : Array(String) | Nil #

[View source]
def has_access?(groups : Array(String)) : Tuple(Bool, Access) #

Returns {permission_found, access_level}


[View source]
def manage : Array(String) | Nil #

[View source]