public function getPermissionsRawForUuid($accessEntityUuid)
    {
        // Do not check the database if we haven't all data
        if ($accessEntityUuid == '') {
            return array();
        }
    
        try {
            $em = $this->entityManager->getDoctrineEntityManager();
            $permissions = $em->getRepository('\\Zepi\\Core\\AccessControl\\Entity\\Permission')->findBy(array(
                'accessEntityUuid' => $accessEntityUuid
            ));
            
            $accessLevels = array();
            foreach ($permissions as $permission) {
                $accessLevels[] = $permission->getAccessLevelKey();
            }

            return $accessLevels;
        } catch (\Exception $e) {
            throw new Exception('Cannot load the permission for the given uuid "' . $accessEntityUuid . '".', 0, $e);
        }
    }