--- title: 'Repository Permissions' license: 'CC-BY-SA-4.0' origin_url: 'https://codeberg.org/Codeberg/Documentation/src/commit/5d457efc069b52d512632fea024917e0848346cd/content/collaborating/repo-permissions.md' --- When you invite collaborators to join your repository or when you create teams for your organization, you have to decide what each collaborator/team is allowed to do. You can assign teams different levels of permission for each unit (e.g. issues, PR's, wiki). ## Profile and Visibility Visibility of your repositories is in general inherited from your profile. So other user can only see your repositories, if your profile is _public_. If you want to limit visibility access to your repositories you can set your **user visibility** in the user privacy settings to **Limited**. Even if your repository is public, non-contributors will get a 404-error if they try to access your repository. ![screenshot showing the updated README](../../../../images/v1.20/user/repo-permissions/user-settings-privacy-limited.webp) ## Collaborators There are four permission levels: Read, Write, Administrator and Owner. The owner is the person who created the repository. The table below gives an overview of what collaborators are allowed to do when granted each of these permission levels:
Task | Read | Write | Admin | Owner |
---|---|---|---|---|
View, clone and pull repository | ✅ | ✅ | ✅ | ✅ |
Contribute pull requests | ✅ | ✅ | ✅ | ✅ |
Push to/update contributed pull requests | ✅ | ✅ | ✅ | ✅ |
Push directly to repository | ❌ | ✅ | ✅ | ✅ |
Merge pull requests | ❌ | ✅ | ✅ | ✅ |
Moderate/delete issues and comments | ❌ | ✅ | ✅ | ✅ |
Force-push/rewrite history (if enabled) | ❌ | ✅ | ✅ | ✅ |
Add/remove collaborators to repository | ❌ | ❌ | ✅ | ✅ |
Configure branch settings (protect/unprotect, enable force-push) | ❌ | ❌ | ✅ | ✅ |
Configure repository settings (enable wiki, issues, PRs, releases, update profile) | ❌ | ❌ | ✅ | ✅ |
Configure repository settings in the danger zone (transfer ownership, delete wiki data / repository, archive repository) | ❌ | ❌ | ❌ | ✅ |