backlogs / redmine_backlogs

A Redmine plugin for agile teams
https://backlogs.github.io/www/
GNU General Public License v2.0
773 stars 460 forks source link

Hide new story link if user does not have permission to create a new story on the subproject #1063

Open ande3577 opened 10 years ago

ande3577 commented 10 years ago

If a user attempts to create a story on a subproject where either:

  1. The backlogs module is disabled
  2. The user does not have permission to create a new story

The new dialog will still appear and a 403 error will result when the user attempts to create the story. This change simply hides subprojects where the user does not have permission to create a new story from the drop down list.