Access to own attachments only?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
aavagyan
Posts: 84
Joined: 08 Dec 2013, 14:23
Location: Germany
Contact:

Access to own attachments only?

Post by aavagyan »

My setup is that Reporters can view tickets created by Developers and can upload files to it. Is it possible to setup permissions the way that each Reporter can see only his/her own attachments in the ticket and can't see attachments uploaded by other Reporters?

Thank you.
Mantis Statistics Plugin: https://www.mantisstats.org
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Access to own attachments only?

Post by atrol »

It's not exactly possible the way you want.

This approach might also work for you.
Add the following lines to config_inc.pgp

Code: Select all

$g_view_attachments_threshold = DEVELOPER;
$g_download_attachments_threshold= DEVELOPER;
This means that developers, managers and administrators are able to access all attachments, but reporters are just able to access their own attachments.
Please use Search before posting and read the Manual
aavagyan
Posts: 84
Joined: 08 Dec 2013, 14:23
Location: Germany
Contact:

Re: Access to own attachments only?

Post by aavagyan »

This is exactly what I need. Many thanks Atrol!
Mantis Statistics Plugin: https://www.mantisstats.org
Post Reply