Git Product home page Git Product logo

Comments (6)

markstory avatar markstory commented on August 11, 2024

Currently there is only the readme. However, the behavior is mostly the same as the 2.x implementation.

from acl.

alexsmonte avatar alexsmonte commented on August 11, 2024

Hello n0per could "config" the ACL?

from acl.

serveait avatar serveait commented on August 11, 2024

how to use a acl library like sentry 2 with cakephp 3.0

from acl.

serveait avatar serveait commented on August 11, 2024

I have loaded the plugin in cake 3
it shows up in debugkit
and I am trying to load the component in app controller using following code ;
namespace Acl\Controller\Component;

use Acl\Controller\Component\AclComponent;

and
$this->loadComponent('Acl');
and I am getting error in users/login
as
Error: Class 'Acl\Controller\Component\Controller' not found
File /opt/lampp/htdocs/crmbake/src/Controller/AppController.php

from acl.

r0kawa avatar r0kawa commented on August 11, 2024

I think it's a plugin so use

$this->loadComponent('Acl.Acl');

from acl.

alexsmonte avatar alexsmonte commented on August 11, 2024

users Table

$this->addBehavior('Acl.Acl', ['type' => 'requester']);

User Entity
public function parentNode(){}

groups table
$this->addBehavior('Acl.Acl', ['type' => 'requester']);

group entity

public function parentNode(){        
    return null;
}

it will work

from acl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.