https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-06-09T08:30:56ZRedmineRedmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=297052011-06-09T08:30:56ZEtienne Massip
<ul><li><strong>Target version</strong> set to <i>Candidate for next minor release</i></li></ul> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=297062011-06-09T08:33:52ZEtienne Massip
<ul></ul><p>Guess this tab should be hidden to users to which there is no accessible tracker (depending upon workflow definition), instead of no active tracker.</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=445372013-01-16T10:07:25ZDaniel Felix
<ul><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li></ul><p>This is still reproduceable in Redmine 2.2.1, but it's more a feature request than a defect because Redmine doesn't crash.<br />Redmine will give some Feedback to the enduser.</p>
<p>In my opinion there should be no button "new issue" if the user has no permissions to define the configuration.<br />If he has those permissions, the menu item should be displayed but give this errormessage.</p>
<p>Users without those permission won't know how to fix it.</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=445602013-01-16T11:59:31ZTerence Mill
<ul></ul><p>Its: not bug, but bad user experience.</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=445612013-01-16T12:02:50ZDaniel Felix
<ul></ul><p>Terence Mill wrote:</p>
<blockquote>
<p>Its: not bug, but bad user experience.</p>
</blockquote>
<p>Yes I totally agree. Therefore I added my idea how to improve it. :-)</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=445922013-01-16T18:10:52ZJean-Baptiste Barth
<ul></ul><p>I also experience this " " problem " ". But I think I already hear the voice of a famous redmine developer saying: <em>"yup but it would add one complex query on <strong>every</strong> project page, not even depending on the module, so no way"</em></p>
<p>Hiding the "New issue" tab "if no tracker is available at all" is easy. We could cache the information in a dedicated column in the record for this project, or add a pseudo-EnabledModule that would take care of this. This information would be updated on project save. This may require denormalizing a bit the informations in the database but it should not be hard.</p>
<p>Hiding the "New issue" tab depending on the workflow is user specific and thus cannot be inferred from already available information (basically: global settings, the project, the user, and his memberships with associated roles). Caching it in the session seems like an anti-pattern from a maintenance point of view.</p>
<p>Any thought about this ?</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=445942013-01-16T18:50:09ZEtienne Massip
<ul></ul><p>Just tried and it works if you set different permissions to the user on the parent project (only view issues) and its subprojects (create)? Where am I wrong?</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=446072013-01-16T22:53:10ZTerence Mill
<ul></ul><p>Well, that is a work around what would need to create pseudo roles so the user don't see the New issue tab. In fact we manage many divisions in hierarchy with projects below als leafes via ldap group and roles which have also the right to create issues. If this projects have access to any tracker it makes sense, if not it don't to have that tab "new Issue" <br />You suggest (in worst case) to copy every role with same rights minus "create issue right", to use for all projects which don't have trackers but subprojects have. I think this is realy hard to maintain and understand after a while, even if you have many roles.<br />You have to explain the user such "our system can't do it, but we have to create system roles to work around" very difficult.</p>
<p>Furthermore the problem with a projects and a user with not any start state for a tracker there, but altough you see the "new issue" tab - remains further.</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=446152013-01-17T08:45:21ZEtienne Massip
<ul><li><strong>Target version</strong> changed from <i>Candidate for next minor release</i> to <i>Candidate for next major release</i></li></ul><p>Terence Mill wrote:</p>
<blockquote>
<p>Well, that is a work around what would need to create pseudo roles so the user don't see the New issue tab.</p>
</blockquote>
<p>This issue is already about a workaround. You might find it's more correct to not display the "new issue" link depending on the actual user right to do so than on the fact that he has the possibility to do so because of the fact no tracker has been enabled for the project.</p>
<blockquote>
<p>You suggest (in worst case) to copy every role with same rights minus "create issue right", to use for all projects which don't have trackers but subprojects have. I think this is realy hard to maintain and understand after a while, even if you have many roles.</p>
</blockquote>
<p>How many roles do you have?? Can't you really define one or two roles at the parent project level that would suit every user?</p>
<blockquote>
<p>Furthermore the problem with a projects and a user with not any start state for a tracker there, but altough you see the "new issue" tab - remains further.</p>
</blockquote>
<p>Sorry I don't understand what the problem is?</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=446182013-01-17T09:09:42ZTerence Mill
<ul></ul><blockquote><blockquote>
<p>ou might find it's more correct to not display the "new issue" link depending on the actual user right to do so than on the fact that he has the possibility to do so because of the fact no tracker has been enabled for the project.</p>
</blockquote></blockquote>
<p>Thats exactly the same what my last sentence is about. This issue describes a fix for the case not eve an issue tracker is active.<br />I think we need <strong>another issue</strong> for a similar goal "not to display the new issue link" if any tracker is active but logged in user has no rigthts, there are 2 cases<br />a.) logged in user is not allowed to create issue based on role2rights matrix - e.g right "create issue" <br />b.) logged in user has no start state allowed in any trackers worflow - this i actually(trunk) always possible, but would change if feature request <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: User with role without any worflow right for tracker can create issues (Closed)" href="https://www.redmine.org/issues/12718">#12718</a>,<a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Limit trackers for new issue to certain roles (Closed)" href="https://www.redmine.org/issues/7839">#7839</a> got implemented</p>
<p>Shall i create a new issue for this variant?</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=446972013-01-19T14:43:13ZEtienne Massip
<ul><li><strong>Subject</strong> changed from <i>Hide "new issue" tab when no tracker active</i> to <i>Hide "new issue" links when user has no actual possibility to create an issue</i></li></ul><p>Terence Mill wrote:</p>
<blockquote>
<p>Shall i create a new issue for this variant?</p>
</blockquote>
<p>No, this is this issue, thanks.<br />I think it's worth it dealing with it but I also think it should be solved using rights.</p>
<p>One other way to solve it would be to disable the issue module in parent project and display subprojects Issues related information if they have the Issue module enabled and the <cite>Display subprojects issues on main projects by default</cite> is set. A bit too much complicated though.</p> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=626182015-03-29T03:46:26ZGo MAEDA
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/18571">Feature #18571</a>: Tab "New Issue" should not be displayed if a project has no trackers</i> added</li></ul> Redmine - Feature #8563: Hide "new issue" links when user has no actual possibility to create an issuehttps://www.redmine.org/issues/8563?journal_id=628112015-04-05T03:59:15ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> deleted (<del><i>Candidate for next major release</i></del>)</li><li><strong>Resolution</strong> set to <i>Duplicate</i></li></ul><p>implemented by <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Tab "New Issue" should not be displayed if a project has no trackers (Closed)" href="https://www.redmine.org/issues/18571">#18571</a> (Redmine 3.0).<br />"New Issue" tab disappears when there is no associated tracker.</p>