Skip over navigation
Documentation
You are currently viewing documentation for a previously released version of OroCRM. See the latest long-term support version (current).

@AclAncestor

This annotation is used to protect a controller based on an existing access control list. The ID of the parent access control list is passed as the only option:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
// ...
use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;

/**
 * @AclAncestor("an_acl_id")
 */
public function demoAction()
{
    // ...
}
Browse maintained versions:3.12.62.32.01.12

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.desso for oroinc.fr
Back to top