Skip to content

Why the can() function lowercase the permission parameter ? #1212

Description

@YusufDurmaz

The can() function converts permission to lowercase letters. Why is there such a thing?
The function is looking for featureType.manage permission as featuretype.manage. This took me an hour to unnecessarily review my code.If it is not neceserry which software developer did this and why?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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