Function auth_can
Check if the authenticated user has a particular permission This function is overridable from the custom helpers/auth_helper.php
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/auth_helper.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Located at helpers/auth_helper.php
string |
$perm |
The permission name |
boolean
|
TRUE if the authenticated user has a particular permission, otherwise FALSE |