Skip to content

Hide new snippet button from external users

Alex Pooley requested to merge ap-14330-external-personal-snippets into master

What does this MR do?

Hide "new snippet" buttons from external users on snippet dashboard and explore pages.

Closes #14330 (closed)

Screenshots

Before After
Screen_Shot_2019-12-13_at_3.29.51_pm Screen_Shot_2019-12-13_at_3.28.11_pm
Screen_Shot_2019-12-13_at_3.30.04_pm Screen_Shot_2019-12-13_at_3.28.22_pm

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading