Skip to content

Do not disable group link for audit users

路志远请求将fix-auditor-disable-group-link合并到main-jh

What does this MR do and why?

Related issue: #3499 (closed)

We introduced a feature in the previous MR !1718 (merged) : if there is no permission for the rootgroup, the rootgroup name will be set to non-clickable.

But audit users should be allowed to click on all groups (Related docs), so the current MR has been improved for this.

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Create an audit user
  2. Create a rootgroup and a subgroup
  3. Invite the audit user into the subgroup with any roles
  4. Log in to Jihu Gitlab as the audit user and enter the groups dashboard page (http://gdk.test:3000/dashboard/groups )
  5. Looking forward to being able to click to enter the rootgroup

MR acceptance checklist

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

路志远 编辑于

合并请求报告

加载中