權限
Gitea 支援對儲存庫進行權限管理,這樣您就可以為不同的人員提供不同的存取權限。首先,我們需要了解 單元(Unit)。
Blocking a user
Gitea supports blocking of users to restrict how they can interact with you and your content.
Protected branches
Protected branches prevent unwanted changes by enforcing push and merge policies on selected branches. The rules are enforced for every Git protocol (HTTP(S), SSH), the web editor, the API, and background jobs such as auto-merge. Only repository owners and administrators can manage the rules, and the Branches page is read-only while a repository is archived.
受保護的標籤
受保護的標籤允許控制誰有權限建立或更新 Git 標籤。每個規則可以匹配單個標籤名稱,或者使用適當的模式來同時控制多個標籤。