Skip to content

Validate access property #635

@ruudk

Description

@ruudk
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Version/Branch v0.12.5

When using the access property it's very easy to make mistakes. It wants to have a boolean value or expression language string. But when you forget to prefix your expression with @= the string value will result to true, granting access.

Two problems:

  1. It should use strict comparison access === true and not access == true.
  2. It should only accept true, false, or string starting with @=

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions