https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-06-08T13:26:40ZRedmineRedmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=96472009-06-08T13:26:40ZJens Goldhammer
<ul></ul><p>+1!</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=96912009-06-10T18:41:23ZAdam Piotr Żochowski
<ul></ul><p>This ties quite well with <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Default assignee on each project (Closed)" href="https://www.redmine.org/issues/482">#482</a> .</p>
<p>So anyone can create a ticket, but ticket assigned to is auto routed to right person.<br />This person approves ticket, and forwards to proper developer, and stops ticket dead.</p>
<p>Kind regards</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=97862009-06-16T04:44:25ZJames Holle
<ul></ul><p>+1 Thanks. This is great!</p>
<p>Is it possible to have a someone without permission still be able to assign an issue to themselves though? This way we our developers could create an issue and assign it to either themselves or no one. Although managers would still retain the right to assign to anyone eligible. I'd hate make a manager assign every little task, but at the same time a developer couldn't step on any toes :)</p>
<p>I'm guessing this would only require a modification to the last line in your change in the rhtmls. Such as:</p>
<pre>
<p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p>
<% if User.current.allowed_to?(:manage_issue_assignment, @project) -%>
<p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p>
<% else %>
<p><%= f.select :assigned_to_id, (@issue.author.collect {|m| [m.name, m.id]}), :include_blank => true %></p>
<% end %>
</pre>
<p>But, this doesn't work. No ruby skills here ;) <br />Your thoughts?</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=97872009-06-16T05:50:36ZStanislav German-Evtushenko
<ul></ul><p>Hi Yohann,</p>
<p>Could you put screenshots here, please?</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=102632009-07-19T13:34:26ZChris Grieger
<ul></ul><p>+1</p>
<p>Wasn't able to get this patch running. Is it enough to put the <pre> permission_manage_issue_assignment: Assign an issue </pre> into the Libs/redmine.rb?</p>
<p>I can't see the permission in my role-permission edit form to add it to a role.</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=102642009-07-19T13:57:38ZYohann Monnier
<ul></ul><p>Hello Chris,</p>
<p>You have to apply the entire patch (4-5 files, it depends if you use french translation or not)</p>
<p>Yohann</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=102652009-07-19T13:58:36ZYohann Monnier
<ul></ul><p>Chris Grieger wrote:</p>
<blockquote>
<p>+1</p>
<p>Wasn't able to get this patch running. Is it enough to put the [...] into the Libs/redmine.rb?</p>
<p>I can't see the permission in my role-permission edit form to add it to a role.</p>
</blockquote>
<p>Be carefull, you did put the right "patch" in the right patch.</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=102662009-07-19T13:59:43ZYohann Monnier
<ul></ul><p>Sorry for the multiple post, I can not edit my comments.</p>
<p>Be carefull, you did <strong>NOT</strong> put the right "patch" in the right file.</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=185992010-07-22T12:29:23ZHarwant Pannu
<ul></ul><p>We tried to use this patch on our 0.9.3 install of Redmine and it did not work for us. We got some kind of "unknown variables" errors at install time.</p>
<p>Anyone knows what is going on? Any ideas, tips or updated patch for the newer releases of Redmine?</p>
<p>Thanks for your attention.</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=187742010-07-28T15:08:47ZChad S
<ul></ul><p>I have a fix for this guys that works with 1.0.x (which i assume would work with 0.9.x, but i have not tested it.)</p>
<p>Click the patch above to view (this link below is the same):<br /><a class="external" href="http://www.redmine.org/attachments/2156/redmine-0.8-issue-assignment-right.patch">http://www.redmine.org/attachments/2156/redmine-0.8-issue-assignment-right.patch</a></p>
<p>Follow it as you normally would with one exception...<br />The edit to the first file should not be done to this file:<br />app/views/issues/_form.rhtml<br />but to this file instead:<br />app/views/issues/_attributes.rhtml</p>
<p>I have this working after upgrading from 0.8.x to 1.0.x. Reply here if you need help getting this working.</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=218042010-10-25T18:20:58ZBrian Heasley
<ul></ul><p>+1</p>
<p>Thanks for the fix, Chad S. It worked fine on 1.0.2.stable. One additional comment, the "lang/en.yml" file now seems to be in "config/locales/".</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=231992010-12-15T15:10:26ZArne-Kolja Bachstein
<ul><li><strong>File</strong> <a href="/attachments/5014">redmine-1.0.4-issue-assignment-permission.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5014/redmine-1.0.4-issue-assignment-permission.patch">redmine-1.0.4-issue-assignment-permission.patch</a> added</li></ul><p>I've created a new patch to handle this. Hope the patch file is created correctly, it's my first diff ;) Just look inside to make sure everything's fine.</p>
<p>I'm implementing permissions for view_issue_assignment and manage_issue_assignment and do some view conditionals based on this in show.rhtml, _attributes.rhtml.</p>
<p>As I included the possibility to hide assignments completely (permission view_issue_assignment) I had to do some nasty stuff in app/models/query.rb. If anyone knows how to improve it, please share. I just didn't find an other way yet.</p>
<p>Patch is created against Redmine 1.0.4 vanilla.</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=232002010-12-15T15:35:51ZArne-Kolja Bachstein
<ul><li><strong>File</strong> <a href="/attachments/5015">redmine-1.0.4-issue-assignment-permission.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/5015/redmine-1.0.4-issue-assignment-permission.patch">redmine-1.0.4-issue-assignment-permission.patch</a> added</li></ul><p>added translations to my patch</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=247742011-02-02T15:30:37ZBrian Heasley
<ul></ul><p>Any word on using this with v1.1.0?</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=248992011-02-07T11:10:08ZTerence Mill
<ul></ul><p>+1</p>
<p>This so useful ! A real enteprise feature!</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=249742011-02-08T18:27:43ZBrian Lindahl
<ul></ul><p>similar improvements found in patch <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Patch for improved issue edit permissions (Closed)" href="https://www.redmine.org/issues/7444">#7444</a></p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=306902011-07-13T11:36:17ZIvo Leite
<ul></ul><p>+1</p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=306942011-07-13T12:28:55ZTerence Mill
<ul></ul><p>However this should be extended to a "complete" solution for this kind of feature<br />See <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Mightful workflow field enhancement: visible, read only and mandatory (Closed)" href="https://www.redmine.org/issues/8050">#8050</a></p> Redmine - Patch #3461: Manage permission on issue assigmenthttps://www.redmine.org/issues/3461?journal_id=397162012-07-15T16:36:13ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Superseded by <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Permissions for roles to change fields per tracker/status (Closed)" href="https://www.redmine.org/issues/3521">#3521</a>. Each issue field can now be controled by role/tracker/status.</p>