package rdf

  1. Overview
  2. Docs

Convenient stuff to handle webacls

type rights
val no_right : rights
val add_read : rights -> rights
val rem_read : rights -> rights
val has_read : rights -> bool
val add_write : rights -> rights
val rem_write : rights -> rights
val has_write : rights -> bool
val add_append : rights -> rights
val rem_append : rights -> rights
val has_append : rights -> bool
val add_control : rights -> rights
val rem_control : rights -> rights
val has_control : rights -> bool
val all_rights : rights
val add_rights_of_modes : rights -> Iri.t list -> rights
val modes_of_rights : rights -> Iri.t list
val rights_to_string : rights -> string
OCaml

Innovation. Community. Security.