revolution icon indicating copy to clipboard operation
revolution copied to clipboard

Access Policy Context not selectable

Open Jako opened this issue 3 years ago • 1 comments

Bug report

Summary

On an almost fresh MODX installation, the Context policy is not selectable on usergroup/update -> contexts.

The connector of that combo uses the following properties:

start: 0 limit: 20 action: Security/Access/Policy/GetList group: Administrator,Object combo: true query:

Environment

MODX 3.0.1, PHP 7.4

Jako avatar Aug 05 '22 10:08 Jako

I'm seeing an issue in the toolbar filter as well, which only lists Administrator-based policies.

@Mark-H @BobRay (or any modx ACL gurus out there) - The question is: What should the relevant policy templates be for Contexts? In 2.8 it looks like it's Administrator, Object, and Context. Additionally, what is the intended use of the Object template (I've never really been clear on that)? And, why would one create a Context policy based off the Object template instead of the Context one?

smg6511 avatar Aug 05 '22 14:08 smg6511