Skip to content

Support expanding group if has access to subgroup

路志远请求将jh-fix-subgroup-not-display合并到main-jh

What does this MR do and why?

Related issue: #2000 (comment 2517516)

Dependent Upstream MR: Support Jihu override "group_item.vue"

Support expanding group if only has access to subgroup.

Screenshots or screen recordings

On the Groups list page, a user with only subgroup privileges but no rootgroup privileges will see:

Before After

How to set up and validate locally

  1. Enable feature flag group_folder_caret_optimization
    $ bin/rails console
    
    [1] pry(main)> Feature.enable(:group_folder_caret_optimization)
  2. Register a new user (instead of using the root user as it has too high privileges)
  3. Invite this new user into a subgroup
  4. Login as this new user and visit the groups list page (http://127.0.0.1:3000/dashboard/groups)

MR acceptance checklist

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

路志远 编辑于

合并请求报告

加载中