Skip to content

Policy set wrong for 'Create User Group' #12957

@wuuti

Description

@wuuti

Summary

When you create a new user group, the preset policy in the wizard is not set when the group is created. Instead, the policy 'Context' is choosen.

Step to reproduce

Create a new user group. Select 'Administrator' at the 'Manager Policy' Field, add 'mgr' to the contexts field and save the group.

create_usergroup

Observed behavior

The group is created, but the context access permissions are not set as expected:

update_usergroup

Expected behavior

The manager policy should be set to the chosen policy at the wizard. Otherwise, if you think everything is right and don't realize that only the context policy has been set, you will get puzzled with your permissions.

Environment

Tested on MODX 2.4.2-pl and 2.4.4-pl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-corebugThe issue in the code or project, which should be addressed.urgentThe issue requires attention and has higher priority over others.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions