Uploading project documents

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
roga
Posts: 5
Joined: 19 Nov 2007, 15:46

Uploading project documents

Post by roga »

is it possible to allow uploading project documents for groups below "Manager"?
In the Permissions Report i can see that this is allowed only for Manager and Administrator.
mzenns
Posts: 11
Joined: 23 Jan 2009, 20:03
Location: N. Central PA

Re: Uploading project documents

Post by mzenns »

Look for the file config_defaults_inc.php. This should be in /../mantis/www/ (at least in v 1.0.8). Find the lines:

# access level needed to upload files to the project documentation section
# You can set this to NOBODY to prevent uploads to projects
# See also: $g_upload_bug_file_threshold, $g_allow_file_upload
$g_upload_project_file_threshold = MANAGER;

and change the threshold to the desired level.
Mike Zenns
Mantis Administrator
v. 1.0.8
Ubuntu 8.04 server
atrol
Site Admin
Posts: 8544
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Uploading project documents

Post by atrol »

It's better not to change config_defaults_inc.php because your changes will be lost when updating to a newer version
It's recommended to have your local customizations in config_inc.php

Or don't change any file and store your customization in database by using the page "Manage" -> "Manage Configuration"
Please use Search before posting and read the Manual
Post Reply