Skip to content

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

Open
ande3577 wants to merge 1 commit into
backlogs:masterfrom
ande3577:ande3577/hide_new_subproject_story_if_user_does_not_have_permission
Open

Hide new story link if user does not have permission to create a new story on the subproject#1063
ande3577 wants to merge 1 commit into
backlogs:masterfrom
ande3577:ande3577/hide_new_subproject_story_if_user_does_not_have_permission

Conversation

@ande3577
Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant