package guardian
Role-based access control for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
0.0.5.tar.gz
md5=46f14b1dac8c7b7a1521c15555465dde
sha512=c9e7edab3f72a8764a37328c75001f9b7fbcedb1b68ecf95daf53fed4f7a46e9ce1ebc9d5fa9ad46d25f759857a95e7000173eef808aa0459339637a66e945f1
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