Permission/PermissionManager.php
private function isConfigPermission($operation, $class = null, $field = null)
    {
        $map = $this->getMapConfigPermissions();
        $class = PermissionUtils::getMapAction($class);
        $field = PermissionUtils::getMapAction($field);

        return isset($map[$class][$field][$operation]);
    }
private function isConfigPermission($operation, $class = null, $field = null)
    {
        $map = $this->getMapConfigPermissions();
        $class = PermissionUtils::getMapAction($class);
        $field = PermissionUtils::getMapAction($field);

        return isset($map[$class][$field][$operation]);
    }
private function isConfigPermission ( $ operation , $ class = null , $ field = null ) { $ map = $ this -> getMapConfigPermissions ( ) ; $ class = PermissionUtils :: getMapAction ( $ class ) ; $ field = PermissionUtils :: getMapAction ( $ field ) ; return isset ( $ map [ $ class ] [ $ field ] [ $ operation ] ) ; }
Check if the permission operation is defined by the config.

@param string      $operation The permission operation
@param null|string $class     The class name
@param null|string $field     The field

@return bool
Check if the permission operation is defined by the config .