Restrict a role to certain Trackers

Added by Peter Reinhold over 8 years ago

Hi All,

Is it at all possible to restrict a given role to only certain types of trackers?

For instance, we have a Supporter role, which we would like to limit to only being able to create "Bug" issues, but we can't seem to limit them to only this tracker type.

If its not in Redmine already, can anyone give an indication of how hard it would be to implement it? (We have Ruby experience, just not Redmine under-the-hood experience :)

Regards,

Peter

Replies (9)

RE: Restrict a role to certain Trackers - Added by Markus Knittig over 8 years ago

There is already an issue for this request: #2791
It shoudn't be too hard to implement if you have ruby knowledge...

RE: Restrict a role to certain Trackers - Added by Peter Reinhold over 8 years ago

Would this be possible to do via a plugin, or should it be done by modifying the base Redmine?

I'm thinking along the lines of extending the Roles / Permissions view, if that is extendable through the plugin structure, and also, you would need to override the search queries in the Issues search, to limit to only selected trackers.

RE: Restrict a role to certain Trackers - Added by Markus Knittig over 8 years ago

Peter Reinhold wrote:

Would this be possible to do via a plugin, or should it be done by modifying the base Redmine?

Sounds more like something that should be in the core to me...

I'm thinking along the lines of extending the Roles / Permissions view, if that is extendable through the plugin structure, and also, you would need to override the search queries in the Issues search, to limit to only selected trackers.

It's possibly theoretically, but that would probably involve lots of monkey-patching...

RE: Restrict a role to certain Trackers - Added by Peter Reinhold over 8 years ago

After reading up in the Plugins forum, that was what I deduced as well.

How "easy" is it to get something commited to the core, if we were to implement a feature along this? Its more, we wouldn't want to patch every Redmine upgrade, and I think that it would be a pretty nice, little, addition to Redmine :)

RE: Restrict a role to certain Trackers - Added by Eric Davis over 8 years ago

Peter Reinhold wrote:

How "easy" is it to get something commited to the core, if we were to implement a feature along this?

Easy, if it's a good feature that would be useful to other users, includes tests, includes documentation, and wouldn't be difficult to maintain.

Eric

RE: Restrict a role to certain Trackers - Added by Crowella Spreva Farning almost 7 years ago

I hope this request would be implemented soon. I find it very important. We have this customer role here however we don't want customers to see some of the trackers. We want to let them view certain kinds of trackers.

If this request is implemented, Redmine would be even better. I have searched for some plugins to carry this out however no available.

Please work on this... it's been 2 years from the first post. I hope we can hear updates.

RE: Restrict a role to certain Trackers - Added by Andreas E over 6 years ago

I also would be very grateful if this feature would be implemented!

Best regards,
Andi

RE: Restrict a role to certain Trackers - Added by Ahmy yulrizka over 6 years ago

Have there any updates on this feature ?

RE: Restrict a role to certain Trackers - Added by Luis Blasco over 1 year ago

Yes: "3.3.0 will support tracker based permissions for issue tracking. You will be able to limit the trackers for which a role is allowed to view, create, edit or delete issues."

#285

(1-9/9)