Navigation Menu

Skip to content

Commit

Permalink
Change default threshold to view project doc to VIEWER
Browse files Browse the repository at this point in the history
Previously it was ANYBODY, which would let any user download files from
any project including private ones, even when they are not part of the
team.

Backport from a4be76d

Fixes #19873
  • Loading branch information
dregad committed Jun 24, 2015
1 parent 2a04250 commit f39cf52
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config_defaults_inc.php
Expand Up @@ -2354,9 +2354,13 @@

/**
* Threshold needed to view project documentation
* Note: setting this to ANYBODY will let any user download attachments
* from private projects, regardless of their being a member of it.
* @see $g_enable_project_documentation
* @see $g_upload_project_file_threshold
* @global int $g_view_proj_doc_threshold
*/
$g_view_proj_doc_threshold = ANYBODY;
$g_view_proj_doc_threshold = VIEWER;

/**
* Site manager
Expand Down

0 comments on commit f39cf52

Please sign in to comment.