Skip to content

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

Answered by datamweb
YusufDurmaz asked this question in Q&A
Discussion options

You must be logged in to vote

The topic of lowercase conversion in the system is subjective; some developers may see it as a bug while others view it as an advantage. It has been consistently applied in areas like user email storage for consistency. The documentation does not include the example mentioned(featureType.manage), and making changes at this stage (version 1.1.0) could disrupt many users.

@YusufDurmaz Adding a note for users could improve clarity and transparency regarding this decision. If desired, a pull request can be submitted to update the documentation for better accuracy.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@YusufDurmaz
Comment options

@lonnieezell
Comment options

@YusufDurmaz
Comment options

@datamweb
Comment options

Answer selected by YusufDurmaz
@YusufDurmaz
Comment options

@YusufDurmaz
Comment options

@datamweb
Comment options

@YusufDurmaz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1212 on October 22, 2024 21:17.