External module "src/helpers/authorization"
Functions
Const can
-
Parameters
-
-
-
targetType: "user" | "organization" | "membership" | "general"
-
Returns Promise<boolean>
Const canAccessTokenUser
-
Parameters
Returns boolean
Const canApiKeyOrganization
-
Parameters
Returns boolean
Const canUserGeneral
-
Parameters
Returns Promise<boolean>
Const canUserMembership
-
Parameters
Returns Promise<boolean>
Const canUserOrganization
-
Parameters
Returns Promise<boolean>
Const canUserUser
-
Parameters
Returns Promise<boolean>
Whether a user has authorization to perform an action