Prerequisites
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version? 10.0.0
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .NET Core
If issue related with ABP Framework
- What is ABP Framework version? v6
If issue is about UI
- Which theme are you using? Default
- What are the theme settings? Default
Issue Description
The User Permissions page has a hierarchy of checkboxes. We've noticed some areas of inconsistent or surprising behavior:
- if all the children of the top-level node are unchecked, the top-level node stays checked (we would expect it to be unchecked automatically)
- if a parent node (at any level) has only one child (which in turn has children), then checking or unchecking the parent does not cascade, but it will if the parent has multiple child nodes
For each area, we would like to know whether (a) you have a fix already or (b) you can set us straight on the intended functionality (and maybe point us to the right place in the documentation).
Thanks!
1 Answer(s)
-
0
Hi @dev_frontrush
For a, it is designed that way. Because users for example might have permission for accessing a page but might not have permisison for any operation on that page.
For b, I couldn't reproduce it on the latest version. Could you try to upgrade your permission tree component to latest version https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/app/admin/shared/permission-tree.component.ts ?
Thanks,