Hide snippet actions dropdown for guest users

What does this MR do and why?

Hide snippet actions dropdown for guest users

References

#592002 (closed)

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Checkout this branch and run gdk locally
  2. Open any project that's public and go to snippets page Code>Snippets
  3. Open any single snippet that's public or create a new snippet with public visibility
  4. Copy its url and open it in incognito window
  5. Notice the three dots action menu not visible anymore for guest users as they don't have permission to do anything expect view
  6. Compare to master branch where it three dots menu was shown even though it was empty with no any action items

Merge request reports

Loading