https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-12-12T16:19:01ZRedmineRedmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=61002008-12-12T16:19:01ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li></ul> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=61012008-12-12T16:24:00ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>It was already discussed before but I can't find where.<br />In order not to break the workflow, a solution would be to give to admin users all the status transitions given to any role.</p>
Example:
<ul>
<li>3 statuses are defined: A, B, C</li>
<li>2 roles: R1, R2</li>
<li>R1 is allowed to do A -> B</li>
<li>R2 is allowed to do B -> C</li>
</ul>
<p>=> admins are allowed to do A -> B and B -> C (but not B -> A or C -> A and so on)</p>
<p>What do you think?</p> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=61192008-12-14T13:52:05ZThomas Pihl
<ul></ul><p>I really like it the way it is. The admin can change his/her role within the project as he/she see fit.</p>
<p>I use that all the time to be able to test different workflows. Imagine trying to create a workflow and having to log on as a different user all the time while testing.</p>
<p>My vote is for keeping this as it is.</p>
<p>/T</p> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=61402008-12-15T16:44:12ZChaoqun Zou
<ul></ul><p>Hi, Thomas<br />I think that the admin user's duty is to offer help to other users who may not be familiar to redmine. The admin user is a assistant of other users. He is commonly not a member of projects(at least he is not the member of every project).<br />So I think that allowing admin user to change issue's status of every project is a good feature.</p>
<p>But your request to keep the way as now is reasonable, too. Maybe we should wait for more comments.</p>
<p>By the way, after I studied the code about issue' status, I found that it was not very easy to implement this feature as I have expected. <sup>_</sup></p> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=104732009-08-06T15:19:49ZPeter Baumgartner
<ul></ul><p>IMO, Administrator == root user and should have full access to everything. If you want to test workflows, you should have to change to a different user. That is how every other system I've used works.</p> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=155282010-03-29T18:20:52ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>If admin is not member of a project, he cann't change the issue's status</i> to <i>Workflow permissions for admin users that do not belong to a project</i></li></ul> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=155372010-03-29T23:59:48ZBrandon Bonds
<ul></ul><p>Throwing in my thoughts, I agree that it should be changed. Every other aspect about an issue can be changed by the admin, including the person it is assigned to, the tracker, the project, etc. It can even be deleted. But the status cannot be changed... that seems out of place, especially considering that the admin is not prevented in any way from applying the workaround of temporarily adding the project to his/her account.</p> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=155382010-03-30T00:13:08ZBrandon Bonds
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>It was already discussed before but I can't find where.<br />In order not to break the workflow, a solution would be to give to admin users all the status transitions given to any role.</p>
Example:
<ul>
<li>3 statuses are defined: A, B, C</li>
<li>2 roles: R1, R2</li>
<li>R1 is allowed to do A -> B</li>
<li>R2 is allowed to do B -> C</li>
</ul>
<p>=> admins are allowed to do A -> B and B -> C (but not B -> A or C -> A and so on)</p>
<p>What do you think?</p>
</blockquote>
<p>I vote to allow the admin to break the workflow. Perhaps a dialog box could ask "Are you sure?", or maybe have a warning next to the offending selections in the list, or even a warning (think red validation) that says it could break the workflow. Another thought... there could be a checkbox in workflow settings that says "[ ] Administrators are subject to workflow restrictions".</p>
<p>Anyway, there may be a good reason to break it... say that some issues have been left unresolved for a long time, and an admin needs to do a bulk close on the list.</p>
<p>And here's another aspect of your scenario to think about: could the admin also do A -> C now, since he/she can do A -> B -> C?</p>
<p>(By the way... great job on Redmine in general... the improvements over time have been much appreciated!)</p> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=155422010-03-30T11:31:47ZThomas Pihl
<ul></ul><p>It is very easy to create a super-user-role that have a checkmark in every box and thus can change anything.</p>
<p>Easy to add myself to the superuser-role if needed. Usually i don't use it.</p> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=347342011-12-15T08:58:11ZRolf Stetter
<ul></ul><blockquote>
<p>Anyway, there may be a good reason to break it... say that some issues have been left unresolved for a long time, and an admin needs to do a bulk close on the list.</p>
</blockquote>
<p>That excactly is the situation I face very often. And based on the nature of our business we have hundreds of projects where I would have to assign myself in a super-admin role.</p>
<p>So I definitly would like to do any status transition as admin.</p> Redmine - Feature #2323: Workflow permissions for administratorshttps://www.redmine.org/issues/2323?journal_id=355712012-01-26T20:37:08ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Workflow permissions for admin users that do not belong to a project</i> to <i>Workflow permissions for administrators</i></li><li><strong>Category</strong> changed from <i>Administration</i> to <i>Issues workflow</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>1.4.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Fixed in <a class="changeset" title="Makes all workflow transitions defined for all roles available to administrators (#2323)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/8707">r8707</a> as proposed in note-2. Administrators are now allowed to do any status transition that is given to any role (even on projects they don't belong to).</p>
<p>For those who want administrators to be able to "break" the workflow, you just need to create a role with all status transitions allowed. No need to give it to any user, administrators will automatically inherit all these transitions on all projects.</p>