mattermost-plugin-jira icon indicating copy to clipboard operation
mattermost-plugin-jira copied to clipboard

UI will allow user to attempt to create a subscription if they have Create permission but not Browse

Open DHaussermann opened this issue 5 years ago • 0 comments

It was previously established that creating a subscription for a project would require both "Browse Project" and "Create Project" This is the correct functionality.

The Bug is that If users have Create but not Browse (definitely an edge case), the project still shown in the drop down and they can attempt to make a subscription. On save they will see modification error: failed to get project "<nane>": - No project could be found with key '<name>'.

Since the save is not possible, the project should be hidden from the drop down.

DHaussermann avatar Mar 08 '20 20:03 DHaussermann