Issue type selector is shown even when user does not have access
The following discussion from !41752 (merged) should be addressed:
-
@engwan started a discussion: (+2 comments) @splattael @oregand I have a question regarding this type selector. I noticed that we are showing this selector for all users even though on the backend we actually only allow Reporter+ to set this attribute: https://gitlab.com/gitlab-org/gitlab/blob/06969ef3de42d07416da6dc01e448bc6a2266c6b/app/services/issues/build_service.rb#L69
This leads to a bug with Guest users where they see the dropdown and selecting an option doesn't do anything.
cc @seanarnold