CakePHP Cookbook 2.x
as cronjobs Completion Shell Code Generation with Bake Schema management and migrations I18N shell ACL Shell Test shell Upgrade shell Development Configuration Database Configuration Additional Class what) Simple Acl controlled Application Preparing our Application Preparing to Add Auth Initialize the Db Acl tables Acts As a Requester Creating ACOs (Access Control Objects) Simple Acl controlled Application JavaScript, HTML forms and more Email, cookie, security, session, and request handling Components Flexible ACL [https://en.wikipedia.org/wiki/Access_control_list] Data sanitization Flexible caching [https://en0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
. . . . . . . . . . . . . . 665 Simple Acl controlled Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673 Simple Acl controlled Application - part 2 . . . . HTML forms and more • Email, cookie, security, session, and request handling Components • Flexible ACL33 • Data sanitization • Flexible caching34 • Localization • Works from any web site directory, 277 CakePHP Cookbook Documentation, Release 2.x ACL class AclBehavior The Acl behavior provides a way to seamlessly integrate a model with your ACL system. It can create both AROs or ACOs transparently0 码力 | 820 页 | 2.52 MB | 1 年前3
CmlPHP v2.x 开发手册
->leftJoin(array('acl' => 'a'), 'a.uid = u.id') ->rightJoin(array('order' => '0'), 'o.uid = u.id') ->select(); // 生成的语句 SELECT * FROM user as u INNER JOIN group AS g ON u.gid = g.id LEFT JOIN acl AS a 源目录,点击查看静态资源管理。 模板中判断有无某个模块的权限 使用模板标签 {{acl xxx}} {{acl user/add}} 我有添加用户的权限 {{/acl}} 或 {{acl user/add}} 我有添加用户的权限 {{else}} 我没有添加用户的权限 {{/acl}} 模板布局 模板布局文件都是声明在 应用名/View/layout 下,如声明一个模板 Resource 中,此时我们要使用静态资源管理工具去管理静态资 源目录,点击查看静态资源管理。 模板中判断有无某个模块的权限 使用模板标签 @acl(xxx) @acl(user/add) 我有添加用户的权限 @endacl 或 @acl(user/add) 我有添加用户的权限 @else 我没有添加用户的权限 @endacl @urldeper 标签 参考常见问题0 码力 | 245 页 | 720.67 KB | 1 年前3
CmlPHP v2.x 开发手册
e(array('user' => 'u')) ->join(array('group' => 'g'), 'u.gid = g.id') ->leftJoin(array('acl' => 'a'), 'a.uid = u.id') ->rightJoin(array('order' => '0'), 'o.uid = u.id') ->select(); 资源目录,点击查看静态资源管理。 模板中判断有无某个模块的权限 使用模板标签 {{acl xxx}} {{acl user/add}} 我有添加用户的权限 {{/acl}} 或 {{acl user/add}} 我有添加用户的权限 {{else}} 我没有添加用户的权限 {{/acl}} 模板布局 模板布局文件都是声明在 应用名/View/layout 下,如声明一个模板布局文件 Resource 中,此时我们要使用静 态资源管理工具去管理静态资源目录,点击查看静态资源管理。 模板中判断有无某个模块的权限 使用模板标签 @acl(xxx) @acl(user/add) 我有添加用户的权限 @endacl 或 @acl(user/add) 我有添加用户的权限 @else 我没有添加用户的权限 @endacl @urldeper 标签 参考常见问题0 码力 | 143 页 | 1.54 MB | 1 年前3
CmlPHP v2.x 开发手册
->leftJoin(array('acl' => 'a'), 'a.uid = u.id') ->rightJoin(array('order' => '0'), 'o.uid = u.id') ->select(); // 生 成 的 语 句 SELECT * FROM user as u INNER JOIN group AS g ON u.gid = g.id LEFT JOIN acl AS a 要使用静态资源管理工具去管理静态资源目录,点击查看静态资源管理。 模板中判断有无某个模块的权限 使用模板标签 {{acl xxx}} {{acl user/add}} 我有添加用户的权限 {{/acl}} 或 {{acl user/add}} 我有添加用户的权限 {{else}} 我没有添加用户的权限 {{/acl}} 模板布局 模 板 布 局 文 件 都 是 声 明 在 应 用 名 /View/layout Resource 中,此时我们 要使用静态资源管理工具去管理静态资源目录,点击查看静态资源管理。 模板中判断有无某个模块的权限 使用模板标签 @acl(xxx) @acl(user/add) 我有添加用户的权限 @endacl 或 @acl(user/add) 我有添加用户的权限 @else 我没有添加用户的权限 @endacl @urldeper 标签 参考常见问题0 码力 | 251 页 | 973.37 KB | 1 年前3
性感的PHP - 现代化高性能的PHP开发Symfony\Core ./vendor/Symfony/ Core/ ./vendor/Symfony/ Core/Request.php \Zend\Acl Zend /usr/includes/ Zend/ /usr/includes/ Zend/Acl.php ��������\<����>(\<�����>)*\<��> namespace App\Http\Controllers; class0 码力 | 38 页 | 3.56 MB | 1 年前3
CakePHP Cookbook 3.x
these events by returning a mapping array from implementedEvents() method of your authenticate class. ACL related classes were moved to a separate plugin. Password hashers, Authentication and Authorization adapter available in CakePHP 2.x have now been moved to a separate plugin cakephp/acl [https://github.com/cakephp/acl]. Configuring Authorization Handlers You configure authorization handlers using the ACO and ARO.'), 'parser' => [ 'description' => [ __("Use this command to grant ACL permissions. Once executed, the "), __("ARO specified (and its children, if any) will0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
these events by returning a mapping array from implementedEvents() method of your authenticate class. ACL related classes were moved to a separate plugin. Password hashers, Authentication and Authorization & CrudAuthorize adapter available in CakePHP 2.x have now been moved to a separate plugin cakephp/acl122. Configuring Authorization Handlers You configure authorization handlers using the authorize config AuthComponent to throw a ForbiddenException instead of redirecting. 122 https://github.com/cakephp/acl 308 Chapter 10. Controllers CakePHP Cookbook Documentation, Release 3.10 Creating Custom Authorize0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
adapter available in CakePHP 2.x have now been moved to a separate plugin cakephp/acl [https://github.com/cakephp/acl]. Configuring Authorization Handlers You configure authorization handlers using the ACO and ARO.'), 'parser' => [ 'description' => [ __("Use this command to grant ACL permissions. Once executed, the "), __("ARO specified (and its children, if any) will ConsoleOptionParser::buildFromArray([ 'description' => [ __("Use this command to grant ACL permissions. Once executed, the "), __("ARO specified (and its children, if any) will0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
& CrudAuthorize adapter available in CakePHP 2.x have now been moved to a separate plugin cakephp/acl121. Configuring Authorization Handlers You configure authorization handlers using the authorize config attached object. The all key is also exposed as AuthComponent::ALL: 121 https://github.com/cakephp/acl More on Controllers 277 CakePHP Cookbook Documentation, Release 4.x // Pass settings in using 'all' permissions between an ACO and ARO.'), 'parser' => [ 'description' => [ __("Use this command to grant ACL permissions. Once executed, the "), __("ARO specified (and its children, if any) will have ALLOW access0 码力 | 967 页 | 2.88 MB | 1 年前3
共 14 条
- 1
- 2













