package datakit-ci

  1. Overview
  2. Docs

Access Control List

type t

The type for GitHub ACLs.

val everyone : t

everyone is the ACL granting access to everyone

val username : string -> t

username n is the ACL granting access to the user n.

val github_org : string -> t

github_org o is the ACL granting access to all the users of the o GitHub organisation. Note: currently, only public organisation membership is used.

val can_read_github : string -> t

can_read "org/repo" is the ACL granting access to users who can see the org/repo GitHub repository.

val any : t list -> t

any l is the ACL granting access to an user iff there is at least one ACL in l granting access to that user.