Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove confusing comment that was... wrong

Marcello Rocha58d736329050
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command.rb
index fece24a8756..6d84fc94fe9 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command.rb
@@ -58,13 +58,6 @@ module Storages
end
def call(path:, permissions:)
- # This could be broken down into:
- # 1. Get Permission IDs
- # 2. Apply Permission Changes
- # 2.1 Create Permissions
- # 2.2 Delete Permissions
- # 2.3 Re-create Permissions
-
item_exists?(path).on_failure { |failed_result| return failed_result }
current_permissions = get_permissions(path)