public function SetPermissions($documentId, $workflowId, $permissions, $rewrite = true) { $permissions = self::toInternalOperations(null, $permissions); parent::setPermissions($documentId, $workflowId, $permissions, $rewrite); }