Blossom.Utils (blossom v0.26.1)

View Source

Summary

Functions

check_create_child(params, user, perms, ctx)

check_create_child_from_parent(parent, user, perms, ctx)

check_create_item(user, perms, cask_id, scope, ctx)

expand_casks_perms(perms, level)

expand_perms(level, kind, action)

expand_show_perms(perms, kind, action)

filter_allowed(values, allowed_values)

has_item_perms?(id, user, perms, ctx, embed \\ "casks")

option_or_key_config(config, opts, key, default)

put_allowed_casks(params, key, casks)

realm_or_iss(params, user)

user_or_sub(params, user)