Skip to content

Permissions resolver assigns too much #272

@Jako

Description

@Jako

Bug report

Summary

There is a bug with the permissions resolver. The formit policy is assigned to all policies. Not only to the ones that use the AdministratorTemplate policy template. That way, i.e. the Element policy uses 10 of 9 active policies after the install of FormIt in MODX 3.

Step to reproduce

Install Formit and look for the policies.

Observed behavior

The formit policy is assigned to all policies.

Expected behavior

It should assign the formit policy only to the templates that use the AdministratorTemplate policy termplate.

Environment

MODX 2.x and MODX 3.x.

This should be solved in combination with #246

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions