Do not show pipeline schedule button for non-member
requested to merge tnir/gitlab-foss:34907-dont-show-pipeline-schedule-button-for-non-member into master
What does this MR do?
Remove New Schedule button on Project Pipeline Schedule page when non-member/non-logged in user has access. Fix a bug from !10853 (merged)
Are there points in the code the reviewer needs to double check?
No.
Why was this MR needed?
To keep user experience, they should not see the button as they can't create a new pipeline schedule.
Screenshots (if relevant)
before | after |
---|---|
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - [n/a] Documentation created/updated
- [n/a] API support added
- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #34907 (closed)
Edited by Takuya Noguchi