package guardian
Role-based access control for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
0.0.4.tar.gz
md5=45ecb4358a2405a3b4cc263f25ad995c
sha512=d070bd79c14123f720bd0c14291ee520bda3bfac5d6ceb58ceb85185c9be4cebbc5c99894ce29b62bf9e2ed4291ae094506d4d176c12945e99ed9d0283f55db8
doc/guardian.backend/Guardian_backend/Sqlite/Make/index.html
Module Sqlite.Make
Source
TODO: optional ctx
arguments are ignored by sqlite backend
Parameters
module A : Guardian.RoleSig
module T : Guardian.RoleSig
Signature
TODO: generalize this. right now it's fine because this backend should really only be used for testing purposes, but in the future it would be nice to have actual sqlite3 support.
include sig ... end
Source
val wrap_function :
?ctx:(string * string) list ->
(string -> 'etyp) ->
([ `Create | `Read | `Update | `Delete | `Manage ] * target_spec) list ->
('param -> ('rval, 'etyp) monad) ->
('a authorizable -> 'param -> ('rval, 'etyp) monad, string) monad
Source
val collect_rules :
?ctx:(string * string) list ->
([ `Create | `Read | `Update | `Delete | `Manage ] * target_spec) list ->
(auth_rule list, string) monad
Source
val checker_of_effects :
?ctx:(string * string) list ->
([ `Create | `Read | `Update | `Delete | `Manage ] * target_spec) list ->
'a authorizable ->
(unit, string) monad
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page