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.

Fixes #19873
  • Loading branch information
dregad committed Jun 24, 2015
1 parent e118f8f commit a4be76d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config_defaults_inc.php
Expand Up @@ -2695,9 +2695,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 integer $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 a4be76d

Please sign in to comment.