Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
solon
master
Solon
Helpers
NotAuthorizedError
Policy
WrongInstanceMethod
PolicyRegistery
UnknownPolicyError
Built with Crystal 1.9.2
2023-10-07 11:03:50 UTC
module
Solon
Defined in:
solon.cr
solon/helpers.cr
solon/policy.cr
solon/policy_registery.cr
solon/version.cr
Constant Summary
VERSION
=
"0.0.1"
Class Method Summary
.authorize
(user, record, query)
.authorize!
(user, record, query)
.policy
(user, record)
Class Method Detail
def self.
authorize
(user, record, query)
#
[
View source
]
def self.
authorize!
(user, record, query)
#
[
View source
]
def self.
policy
(user, record)
#
[
View source
]