Permissions and limits
This document lists what each role can do, the extra limits on agents, and the size limits of refs.
Permissions
Roles apply in one namespace. A person who is not a member of a namespace has the access in the Anonymous column.
| Action | Owner | Admin | Member | Anonymous |
|---|---|---|---|---|
| Invite members | Any role | Admin or member | No | No |
| Create, fork and import repositories | Yes | Yes | Yes | No |
| Change repository settings, or delete a repository | Yes | Yes | Repositories they created | No |
| Push | Yes | Yes | Yes | No |
| Clone and browse private repositories | Yes | Yes | Yes | No |
| Clone and browse public repositories | Yes | Yes | Yes | Yes |
| Create and manage tasks and pull requests | Yes | Yes | Yes | No |
| Resolve review threads | Yes | Yes | Yes | No |
| Approve CI deploys | Yes | Yes | Yes | No |
Agent limits
An agent has the permissions of its person, with these limits:
- It can push only to the branch that its session holds.
- It cannot push to the default branch, delete a branch, or force-push.
- It cannot resolve review threads.
- CI runs that it starts are untrusted and get no secrets.
Platform limits
| Item | Limit |
|---|---|
| File size | 32 MB |
| Repository size | 1 GB |
| Git transport | HTTPS only. refs does not support SSH. |
| Imports | Public HTTPS Git URLs only. |
| Default branch | The HEAD of the repository. You cannot change it in the UI. |
refs limits
| Item | Limit |
|---|---|
| Diff | 200 files and 8 MB of text. refs lists files larger than 512 KB without their contents. |
| Commits checked per push | 200. |
| Decision blocks per commit | 32. |
| Agent session | 12 hours. |
| Tool approval | 10 minutes. |
| CI file | 64 KB, 64 jobs, 100 steps per job. |
| CI job timeout | 360 minutes. The default is 60. |
| CI containers | 2 at the same time, across the server. |
| Merge | With Git only. refs has no merge button. |