From ca8e1120115b6dfdf8aacd2e8813081c45662297 Mon Sep 17 00:00:00 2001 From: Gaurav Kumar Date: Dec 08 2015 14:54:29 +0000 Subject: Added 'projects' to the blacklisted list of projects. --- diff --git a/files/pagure.cfg.sample b/files/pagure.cfg.sample index 9461ec5..e95e992 100644 --- a/files/pagure.cfg.sample +++ b/files/pagure.cfg.sample @@ -126,7 +126,7 @@ SHORT_LENGTH = 6 ### or other BLACKLISTED_PROJECTS = [ 'static', 'pv', 'releases', 'new', 'api', 'settings', - 'logout', 'login', 'users', 'groups'] + 'logout', 'login', 'users', 'groups', 'projects'] ### IP addresses allowed to access the internal endpoints ### These endpoints are used by the milter and are security sensitive, thus diff --git a/pagure/default_config.py b/pagure/default_config.py index 29e4afa..bddc508 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -182,7 +182,7 @@ APPLICATION_ROOT = '/' # List of blacklisted project names BLACKLISTED_PROJECTS = [ 'static', 'pv', 'releases', 'new', 'api', 'settings', - 'logout', 'login', 'users', 'groups'] + 'logout', 'login', 'users', 'groups', 'projects'] ACLS = { 'issue_create': 'Create a new ticket against this project',