Module Xs_protocol.ACL

Access control lists.

type perm =
| NONE
| READ
| WRITE
| RDWR
val char_of_perm : perm -> char
val perm_of_char : char -> perm option
type domid = int
type t = {
owner : domid;

domain which "owns", has full access

other : perm;

default permissions for all others...

acl : (domid * perm) list;

... unless overridden in the ACL

}
val of_string : string -> t option
val to_string : t -> string