diamond ~master (2020-03-31T19:16:28Z)
Home
Dub
Repo
requirePermissionMethod
diamond
authentication
permissions
Requires a permission for a http method.
static if
(
isWeb
)
void
requirePermissionMethod
(
HttpMethod
method
,
PermissionType
permission
)
Parameters
method
HttpMethod
The method.
permission
PermissionType
The permission.
Meta
Source
See Implementation
diamond
authentication
permissions
classes
Permission
enums
PermissionType
functions
hasAccess
requirePermissionMethod
unrequirePermissionMethod
static variables
defaultPermission
Requires a permission for a http method.