Why the can()
function lowercase the permission parameter ?
#1213
-
The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Improved Performance: Comparisons become faster and more efficient. |
Beta Was this translation helpful? Give feedback.
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.