File: authz.rst

package info (click to toggle)
buildbot 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,080 kB
  • sloc: python: 174,183; sh: 1,204; makefile: 332; javascript: 119; xml: 16
file content (26 lines) | stat: -rw-r--r-- 980 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Authorization
=============

Buildbot authorization is designed to address the following requirements:

    - Most of the configuration is only data:
      We avoid to require from the user to write callbacks for most of the use cases.
      This is to allow to load the config from yaml or json, and eventually do a UI for authorization config.
    - Separation of concerns:

        * Mapping users to roles
        * Mapping roles to REST endpoints

    - Configuration should not need hardcoding endpoint paths
    - Easy to extend

Use cases
---------

- Members of admin group should have access to all resources and actions
- Developers can run the "try" builders
- Integrators can run the "merge" builders
- Release team can run the "release" builders
- There are separate teams for different branches or projects, but the roles are identical
- Owners of builds can stop builds or buildrequests
- Secret branch's builds are hidden from people except explicitly authorized