We require some custom alterations to Redmine ([url removed, login to view])
We are running version 1.0.5 of Redmine [url removed, login to view]
Objective is that based on User Group of the User logged in, we need to redirect the user to a different protocol
for example if the user is member of a certain group (for example Group Id = 123) and accesses page of an issue, ex: [url removed, login to view]
then it should be redirected to redmine://issues/17005
The custom code should be triggered when the user opens the ticket (issue).
We suggest the change of protocol should be done as early as possible in the code for loading an issue > directly after user-authentication.
We suggest to use @ redirect_to()@
Any other page should not trigger this action: other pages are accessible in default 'http' protocol
In settings/DB the value for 'settings_host_name' is set without protocol.
So in Redmine-code protocol is added and also 'settings_host_name' is added to create a URL.
In our case 'settings_host_name' should be omitted from the URL and protocol replaced with our custom protocol
We need to be able to configure the following items:
* Protocol : for testing you can use redmine://
* Group Id
This does not need be set in a config-file, just provide altered file(s) and indicate which values on which lines we can change