Support expanding group if has access to subgroup
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
- Enable feature flag
group_folder_caret_optimization
$ bin/rails console [1] pry(main)> Feature.enable(:group_folder_caret_optimization)
- Register a new user (instead of using the
root
user as it has too high privileges) - Invite this new user into a subgroup
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
由 路志远 编辑于