public function execute(Framework $framework, RequestAbstract $request, Response $response, $value = null)
    {
        $permissions = array();
        foreach ($value as $accessLevel) {
            $parts = explode('\\', $accessLevel);

            if ($parts[1] === 'Group' && count($parts) === 3) {
                $uuid = $parts[2];
                
                $groupPermissions = $this->accessControlManager->getPermissionsForUuid($uuid);
                if ($groupPermissions !== false) {
                    foreach ($groupPermissions as $groupPermission) {
                        $permissions[] = $groupPermission;
                    }
                }
            } else {
                $permissions[] = $accessLevel;
            }
        }
        
        $permissions = array_unique($permissions);
        
        return $permissions;
    }