Skip to content

Hide Add button in issue if user has Guest role

What does this MR do and why?

Hide Add button using in issue if user has Guest role using the user permission admin_parent_link.

Screenshots or screen recordings

User's role is set as guest
Screenshot_2023-04-07_at_1.18.24_PM
Before After
Screenshot_2023-04-07_at_1.17.57_PM Screenshot_2023-04-07_at_1.18.47_PM

How to set up and validate locally

  1. Login using a User with guest role
  2. Create an issue in Project > Issue section
  3. Go to issue detail page
  4. Check if the user can add task

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rajan Mistry

Merge request reports