Sqlite.MakeSourceTODO: optional ctx arguments are ignored by sqlite backend
module A : Guardian.RoleSigmodule T : Guardian.RoleSigTODO: 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 ... endval 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) monadval collect_rules :
?ctx:(string * string) list ->
([ `Create | `Read | `Update | `Delete | `Manage ] * target_spec) list ->
(auth_rule list, string) monadval checker_of_effects :
?ctx:(string * string) list ->
([ `Create | `Read | `Update | `Delete | `Manage ] * target_spec) list ->
'a authorizable ->
(unit, string) monad