Hello All,
Recently I came across a situation where the developer added to a project wanted to upload a document. As per the default mantis permission ( Manage Configuration -> Permission Report ) the Manager and Admin can upload the doc. I looked in the workflow threshold/transitions but couldn't find the option to control the upload of project documentation. Finally I looked into the config_defaults.php and found a value $g_upload_project_file_threshold which I changed to DEVELOPER. This solved the case for upload but on a global level. I wanted it on Project level. Also the developer wished to upload modified doc instead of actual one for which he wanted to delete this version. But he wasn't able to do so.
How can it be achieved on a project level ( and not global level ). I am using mantis 1.1.1
-Thanks
AJ
Changing Project Documentation Upload Permission
Moderators: Developer, Contributor
Re: Changing Project Documentation Upload Permission
I didn't check myself whether this is working, but try using the configuration page instead of changing config_defaults.php (Manage -> Manage Configuration -> Configuration Report)
Set upload_project_file_threshold to value 55 for the projects you want, select "All users"
Set upload_project_file_threshold to value 55 for the projects you want, select "All users"
Re: Changing Project Documentation Upload Permission
Hi atrol,
Thanks, this solves one problem of letting the users to upload the docs.
I have some Some more doubts :
1> Is there any such option where in they can even delete the doc for the project they are assigned in.
2> Can we group users for a project in a group and then create the config option for that particular group instead of all users as I did now. Currently what I can do is create the same rule for each user whom I want to give the permission instead of all the users for a project.
Thanks again for prompt reply.
-AJ
Thanks, this solves one problem of letting the users to upload the docs.
I have some Some more doubts :
1> Is there any such option where in they can even delete the doc for the project they are assigned in.
2> Can we group users for a project in a group and then create the config option for that particular group instead of all users as I did now. Currently what I can do is create the same rule for each user whom I want to give the permission instead of all the users for a project.
Thanks again for prompt reply.
-AJ
Re: Changing Project Documentation Upload Permission
AFAIK noankur wrote: 1> Is there any such option where in they can even delete the doc for the project they are assigned in.
Not that way,ankur wrote: 2> Can we group users for a project in a group and then create the config option for that particular group instead of all users as I did now. Currently what I can do is create the same rule for each user whom I want to give the permission instead of all the users for a project.
the concept is to have the roles (groups) viewer, reporter, updater, developer, manager, administrator for a project and to assign the roles to users.
Re: Changing Project Documentation Upload Permission
Thanks atrol ... will revert back if i find any problem .....
Regards
AJ
Regards
AJ