dppm_rest_api
master
Top Level Namespace
DppmRestApi
Access
Actions
Accepted
AlreadyReported
App
BadGateway
BadRequest
BooleanParamHasValue
ConfigKeyError
ConfigKeyNotFound
Conflict
Continue
Created
EarlyHints
ErrorData
ErrorResponse
Exception
ExpectationFailed
FailedDependency
Forbidden
Found
GatewayTimeout
Gone
Groups
DuplicateGroup
InvalidAccessLevel
NoSuchGroup
HTTPStatusError
HttpVersionNotSupported
ImATeapot
ImplementationError
ImUsed
InsufficientStorage
InternalServerError
InvalidFilter
InvalidInput
LengthRequired
Locked
LoopDetected
MethodNotAllowed
MisdirectedRequest
MovedPermanently
MultipleChoices
MultiStatus
NetworkAuthenticationRequired
NoContent
NonAuthoritativeInformation
NoPkgsToClean
NoSuchPackage
NotAcceptable
NotExtended
NotFound
NotImplemented
NotModified
Ok
PartialContent
PayloadTooLarge
PaymentRequired
PermanentRedirect
Pkg
PreconditionFailed
PreconditionRequired
Processing
ProxyAuthenticationRequired
RangeNotSatisfiable
RelativeRoute
RequestHeaderFieldsTooLarge
RequestTimeout
ResetContent
Route
RouteFilters
SeeOther
Service
ServiceUnavailable
Src
SwitchingProtocols
SwitchProxy
TemporaryRedirect
TooManyRequests
Unauthorized
UnavailableForLegalReasons
UnprocessableEntity
UnsupportedMediaType
UpgradeRequired
UriTooLong
UseProxy
User
AddUserBody
VariantAlsoNegotiates
CLI
Config
Group
GroupView
Helpers
Route
User
JWTCompatibleHash
DuplicateAPIKey
GroupAlreadyExists
InvalidAccessParam
InvalidGroupID
NoRouteMatchForThisGroup
NoSuchGroup
Path
RequiredArgument
enum
DppmRestApi::Access
Defined in:
access.cr
Enum Members
Create
=
1_u8
Read
=
2_u8
Update
=
4_u8
Delete
=
8_u8
Constructors
.new
(pull parser : JSON::PullParser) : Access
Class Method Summary
.deny
.from_value
(value : Int)
.super_user
Instance Method Summary
#create?
#delete?
#none?
#read?
#to_json
(builder : JSON::Builder)
#to_json
(**options)
#update?
Constructor Detail
def self.
new
(pull parser : JSON::PullParser) :
Access
#
[
View source
]
Class Method Detail
def self.
deny
#
[
View source
]
def self.
from_value
(value : Int)
#
[
View source
]
def self.
super_user
#
[
View source
]
Instance Method Detail
def
create?
#
[
View source
]
def
delete?
#
[
View source
]
def
none?
#
[
View source
]
def
read?
#
[
View source
]
def
to_json
(builder : JSON::Builder)
#
[
View source
]
def
to_json
(**options)
#
[
View source
]
def
update?
#
[
View source
]