Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Member Role edit page has multiple glitches #4846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nep opened this issue May 15, 2025 · 1 comment · May be fixed by #4851
Open

Member Role edit page has multiple glitches #4846

nep opened this issue May 15, 2025 · 1 comment · May be fixed by #4851
Assignees
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.

Comments

@nep
Copy link

nep commented May 15, 2025

Description of the problem

admin.php?/cp/members/roles/create

  1. When you search in Channel Access, you get the channel, but you can't see or select any properties of it, and checking the box doesn't select the properties either. Then, when you save it, because you haven't selected any properties, it doesn't save that you selected it.
Image
  1. Even when Access Template Manager is deselected, you still see the "Template Group Access" option.
Image
  1. The "Role Groups" text is incorrect. It says "Assign this user a group of access permissions" but really, a Role Group doesn't have its own permissions -- it's really, "Include this Role in the following Role Groups" as an organizational tool.

  2. The order of channels in the Channel Access should be alphabetical. The order of template groups in the Template Group Access and Allowed Templates lists should match the Template Group order. The Upload Directory order should match the Files order (alpha?). The Add-ons should be in Alpha order.

Environment Details:

  • Version: 7.5.11

Possible Solution

Additional context

@intoeetive intoeetive added the Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on. label May 18, 2025
@intoeetive
Copy link
Contributor

@nep thank you for the detailed report!

@Yulyaswan I've started working on this (see the referenced draft PR), but need your help with the UI components:

  1. We need to make sure that all "child" checkboxes are visible when you filter/search for parent name as reported in # 2 here. I'm not sure if we need to add some hidden text to those or just make it on the code level? This seems to be already working fine "the opposite way" - i.e. if you search for "child" the "parent" is still shown
  2. Additionally, I discovered that when the page is initially loaded, on the "CP access" tab the group toggles are visible already (which should not happen unless main "Cp access" toggle is on). If you switch "Cp access" toggle on and off, it behaves correctly, it's just the initial load that's not 100% correct

LMK if you need a video with better explanation - I'm not sure I'm making myself 100% clear here :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants