KabaForge
🌍 TΓΌrkΓ§e Β· English Β· Deutsch Β· FranΓ§ais Β· Русский

13 β€” Repository administration and security

This chapter covers the Settings tab: who can do what, what is protected, and the life cycle of a repository.

Collaborators and permissions

Add people under Settings β†’ Collaborators:

PermissionWhat they can do
ReadView, open issues, comment
WritePush commits, create branches, merge pull requests
AdminSettings, collaborators, branch rules

In organisation repositories, grant access to a team rather than a person; when people change, you update one place.

Protecting main

Settings β†’ Branches β†’ Add rule β€” recommended as soon as more than one person works in the repository:

Visibility and life cycle

If you are unsure, do not delete β€” archive.

Webhooks

Settings β†’ Webhooks posts JSON to an address you choose when something happens (commit, issue, pull request). Use it for chat notifications or to trigger your own deployment script. Every webhook keeps a recent deliveries log β€” look there when debugging.

Deploy keys

If a server only needs to read the repository, do not give it your personal SSH key: add a repository-specific, read-only key under Settings β†’ Deploy Keys. Even if that server is compromised, the blast radius is one repository.

Your tokens and keys

Good habits

β¬… Previous: 12 β€” Actions (CI) and releasesπŸ“š All chaptersNext: 14 β€” Empty repository and starting with git ➑