Disable custom Git Hooks globally via configuration value #1038

Closed
opened 2025-11-02 03:46:12 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @techknowlogick on GitHub (Sep 2, 2017).

  • Gitea version (or commit ref): 04ec795
  • Git version: 2.11.0
  • Operating system: macOS 10.12.6
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

As a sysadmin hosting gitea for others I'd like the option to disable custom githooks via configuration value so that even the admin of the site can't enable them for users.

Originally created by @techknowlogick on GitHub (Sep 2, 2017). - Gitea version (or commit ref): 04ec795 - Git version: 2.11.0 - Operating system: macOS 10.12.6 - Database (use `[x]`): - [x] PostgreSQL - [x] MySQL - [x] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant ## Description As a sysadmin hosting gitea for others I'd like the option to disable custom githooks via configuration value so that even the admin of the site can't enable them for users.
GiteaMirror added the type/feature label 2025-11-02 03:46:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1038