Project

General

Profile

Creating different views depending on the user-status

Added by Riewert Holtermann almost 13 years ago

Hello,

I want to write a plugin for redmine, but I have a little problem.

For this plugin it is neccessary to render different views of my
model, depending on the status of the user, who has to work with it.

In example:
I want to render a basic view, when a reporter works with my plugin,
but if a manager or a developer (or an other defined role) works
with the same model, a more advanced view has to be rendered.

I have seen such a behaviour like that in different views of redmine.
A Manager sees an other configuration of a project, than a reporter
does.

Please help me and give me a short explanation, how I can solve my
problem. Or please write me a link, where I can read about it.

Best regards.
Riewert