Skip to content

Commit a00d184

Browse files
committed
Document additional Requirement typs
1 parent d0f4901 commit a00d184

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/auth.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ At present, asfquart features the following auth requirements:
99

1010
- `asfquart.auth.Requirements.committer`: User must be a committer of any project to access
1111
- `asfquart.auth.Requirements.member`: User must be a member of the Foundation to access
12+
- `asfquart.auth.Requirements.pmc_member`: User must be a PMC member of any top-level project
1213
- `asfquart.auth.Requirements.chair`: User must be a chair of one or more projects
14+
- `asfquart.auth.Requirements.root`: User must be a member of infra-root
1315
- `asfquart.auth.Requirements.mfa_enabled`: User must be logged in using a method that requires multi-factor authentication
16+
- `asfquart.auth.Requirements.roleacct`: User is a service account
1417

1518
These requirements can be passed to the `asfquart.auth.require` decorator to create a list of requirements
1619
that must pass in order to make use of the endpoint.

0 commit comments

Comments
 (0)