Skip to content

Combinations of allow/deny rules with actions and repGlob are not fully set #48

@gruberroland-netcentric

Description

Example:

  • path: /content
    permission: deny
    actions: read,acl_read
    privileges:
    repGlob:
  • path: /content
    permission: allow
    actions: read,acl_read
    privileges:
    repGlob: ""
  • path: /content
    permission: allow
    actions: read,acl_read
    privileges:
    repGlob: /jcr:*

​I just get the two allow rules. The deny rule is not set.
Probably, this is because when setting the first allow rule without repglob then the deny rule is removed. I saw this kind of effect when I debugged the tool some time ago, OAK seems to remove rules if they are obsoleted by another rule.
Probably, here the second rule with allow removes the first rule since it is added without repglob first (added in a second code step).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions