diff --git a/doc/configuration.rst b/doc/configuration.rst index 96fab5b..7bfa747 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -1071,7 +1071,7 @@ users who are given access to the repository. No information is leaked about the private repository which means redis doesn't have the access to the repository and even fedmsg doesn't get any notifications. -Defaults to: ``False`` +Defaults to: ``True`` EXCLUDE_GROUP_INDEX diff --git a/files/pagure.cfg.sample b/files/pagure.cfg.sample index 0e37824..2898966 100644 --- a/files/pagure.cfg.sample +++ b/files/pagure.cfg.sample @@ -12,6 +12,9 @@ ADMIN_SESSION_LIFETIME = timedelta(minutes=20) ENABLE_TICKETS = True ENABLE_DOCS = True +# Enables / Disables private projects +PRIVATE_PROJECTS = True + ### Secret key for the Flask application SECRET_KEY='' diff --git a/pagure/default_config.py b/pagure/default_config.py index 9fb8a55..fa88fa6 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -71,7 +71,7 @@ ENABLE_USER_MNGT = True ENABLE_GROUP_MNGT = True # Enables / Disables private projects -PRIVATE_PROJECTS = False +PRIVATE_PROJECTS = True # Enable / Disable deleting branches in the UI ALLOW_DELETE_BRANCH = True