Walrus as an integrated ACL heritage tree, you have to define it in the config/acls/acl.yml
All configuration YAML files in walrus are parsed to PHP array, you can create all the files you want in the correct configuration directory
administrator: 'administrate' partner: 'advertise' teacher: 'teach' student: 'learn'
This exemple give:
To help you in your application with ACL, the WalrusACL class give you two useful methods which return boolean.
// Check if a user with the role "teacher" can access something who require a student role WalrusACL::hasRight('teacher', 'student'); // Check if a user with the role "administrator" can do the task advertise WalrusACL::hasRight('administrator', 'advertise');