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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix SetPermissionsCommand specs
Marcello Rocha4a68f8009e8c
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rbindex ad2fbd6b649..5b071232731 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/create_folder_command.rb@@ -68,6 +68,8 @@ module Storagesenddef handle_response(response)+ source = self.class+case responsein { status: 200..299 }info "Folder successfully created."@@ -75,16 +77,16 @@ module StoragesUtil.storage_file_from_json(MultiJson.load(response.body, symbolize_keys: true)))in { status: 404 }ServiceResult.failure(result: :not_found,- errors: Util.storage_error(code: :not_found, response:, source: self.class))+ errors: Util.storage_error(code: :not_found, response:, source:))in { status: 401 }ServiceResult.failure(result: :unauthorized,- errors: Util.storage_error(code: :unauthorized, response:, source: self.class))+ errors: Util.storage_error(code: :unauthorized, response:, source:))in { status: 409 }ServiceResult.failure(result: :already_exists,- errors: Util.storage_error(code: :conflict, response:, source: self.class))+ errors: Util.storage_error(code: :conflict, response:, source:))elseServiceResult.failure(result: :error,- errors: Util.storage_error(code: :error, response:, source: self.class))+ errors: Util.storage_error(code: :error, response:, source:))endenddiff --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.rbindex 32bbfc58de2..3b38abce382 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@@ -56,18 +56,14 @@ module Storagesdef call(auth_strategy:, path:, permissions:)with_tagged_logger doAuthentication[auth_strategy].call(storage: @storage) do |http|- item_exists?(http, path).on_failure { |failed_result| return failed_result }+ item_exists?(http, path).on_failure { return _1 }- current_permissions = get_permissions(http, path)- .on_failure { |failed_result| return failed_result }- .result-- permission_ids = extract_permission_ids(current_permissions[:value])- info "Read and write permissions found: #{permission_ids}"+ current_permissions = get_current_permissions(http, path).on_failure { return _1 }.result+ info "Read and write permissions found: #{current_permissions}"permissions.each_pair do |role, user_ids|apply_permission_changes(- PermissionUpdateData.new(role:, user_ids:, permission_ids: permission_ids[role], drive_item_id: path),+ PermissionUpdateData.new(role:, user_ids:, permission_ids: current_permissions[role], drive_item_id: path),http)end@@ -84,9 +80,9 @@ module Storageshandle_response(http.get(item_path(item_id)))end- def get_permissions(http, path)+ def get_current_permissions(http, path)info "Getting current permissions for #{path}"- handle_response(http.get(permissions_path(path)))+ handle_response(http.get(permissions_path(path))).map { |result| extract_permission_ids(result[:value]) }enddef apply_permission_changes(update_data, http)@@ -127,21 +123,22 @@ module Storagesendend- def extract_permission_ids(permission_set)- filter = lambda do |role, permission|- next unless permission[:roles].member?(role)+ FILTER_LAMBDA = lambda { |role, permission|+ next unless permission[:roles].member?(role)- permission[:id]- end.curry+ permission[:id]+ }.curry- write_permissions = permission_set.filter_map(&filter.call("write"))- read_permissions = permission_set.filter_map(&filter.call("read"))+ def extract_permission_ids(permission_set)+ write_permissions = permission_set.filter_map(&FILTER_LAMBDA.call("write"))+ read_permissions = permission_set.filter_map(&FILTER_LAMBDA.call("read")){ read: read_permissions, write: write_permissions }end- # rubocop:disable Metrics/AbcSizedef handle_response(response)+ source = self.class+case responsein { status: 200 }ServiceResult.success(result: response.json(symbolize_keys: true))@@ -149,24 +146,22 @@ module StoragesServiceResult.success(result: response)in { status: 400 }ServiceResult.failure(result: :bad_request,- errors: Util.storage_error(response:, code: :bad_request, source: self.class))+ errors: Util.storage_error(response:, code: :bad_request, source:))in { status: 401 }ServiceResult.failure(result: :unauthorized,- errors: Util.storage_error(response:, code: :unauthorized, source: self.class))+ errors: Util.storage_error(response:, code: :unauthorized, source:))in { status: 403 }ServiceResult.failure(result: :forbidden,- errors: Util.storage_error(response:, code: :forbidden, source: self.class))+ errors: Util.storage_error(response:, code: :forbidden, source:))in { status: 404 }ServiceResult.failure(result: :not_found,- errors: Util.storage_error(response:, code: :not_found, source: self.class))+ errors: Util.storage_error(response:, code: :not_found, source:))elseServiceResult.failure(result: :error,- errors: Util.storage_error(response:, code: :error, source: self.class))+ errors: Util.storage_error(response:, code: :error, source:))endend- # rubocop:enable Metrics/AbcSize-def permission_path(item_id, permission_id) = "#{permissions_path(item_id)}/#{permission_id}"def permissions_path(item_id) = "#{item_path(item_id)}/permissions"diff --git a/modules/storages/app/services/storages/one_drive_managed_folder_sync_service.rb b/modules/storages/app/services/storages/one_drive_managed_folder_sync_service.rbindex f03e2218f70..166df565b89 100644--- a/modules/storages/app/services/storages/one_drive_managed_folder_sync_service.rb+++ b/modules/storages/app/services/storages/one_drive_managed_folder_sync_service.rb@@ -33,11 +33,8 @@ module Storagesextend ActiveModel::Namingextend ActiveModel::Translationinclude TaggedLogging- include Injector["one_drive.commands.create_folder",- "one_drive.commands.rename_file",- "one_drive.commands.set_permissions",- "one_drive.queries.files",- "one_drive.authentication.userless"]+ include Injector["one_drive.commands.create_folder", "one_drive.commands.rename_file",+ "one_drive.commands.set_permissions", "one_drive.queries.files", "one_drive.authentication.userless"]using Peripherals::ServiceResultRefinements@@ -85,8 +82,6 @@ module Storagesinfo "Setting permissions for #{project_storage.managed_project_folder_name}"set_folder_permissions(project_storage.project_folder_id, permissions)end-- ServiceResult.successenddef set_folder_permissions(folder_id, permissions)@@ -98,7 +93,7 @@ module Storagesactive_project_storages_scope.includes(:project).find_each do |project_storage|unless folder_map.key?(project_storage.project_folder_id)info "#{project_storage.managed_project_folder_path} does not exist. Creating..."- next create_remote_folder(project_storage)+ next create_remote_folder(project_storage.managed_project_folder_path, project_storage.id)endrename_project_folder(folder_map[project_storage.project_folder_id], project_storage)@@ -111,9 +106,7 @@ module Storagesinfo "Hiding folders related to inactive projects"permissions = { write: [], read: [] }- active_folder_ids = active_project_storages_scope.pluck(:project_folder_id).compact-- (folder_map.keys - active_folder_ids).each do |item_id|+ inactive_folder_ids(folder_map).each do |item_id|info "Hiding folder with ID #{item_id} as it does not belong to any active project"# FIXME: Set permissions wont ever fail.@@ -125,6 +118,10 @@ module Storagesendend+ def inactive_folder_ids(folder_map)+ folder_map.keys - active_project_storages_scope.pluck(:project_folder_id).compact+ end+def add_user_to_permission_list(permissions, token, project)op_user_permissions = token.user.all_permissions_for(project)@@ -152,17 +149,14 @@ module Storagesendend- def create_remote_folder(project_storage)- folder_name = project_storage.managed_project_folder_path-+ def create_remote_folder(folder_name, project_storage_id)folder_info = create_folder.call(storage: @storage, auth_strategy:, folder_name:, parent_location: root_folder).on_failure do |service_result|log_storage_error(service_result.errors, folder_name:)return add_error(:create_folder, service_result.errors, options: { folder_name:, parent_location: root_folder })end.result- last_project_folder = ::Storages::LastProjectFolder.find_by(project_storage_id: project_storage.id,- mode: project_storage.project_folder_mode)+ last_project_folder = ::Storages::LastProjectFolder.find_by(project_storage_id:, mode: :automatic)audit_last_project_folder(last_project_folder, folder_info.id)end@@ -190,11 +184,15 @@ module Storages# @param files [Array<Storages::StorageFile>]# @return Hash{String => String} a hash of item ID and item name.def filter_folders_from(files)- files.each_with_object({}) do |file, hash|+ folders = files.each_with_object({}) do |file, hash|next unless file.folder?hash[file.id] = file.name- end.tap { info "Found #{_1.size} folders. #{_1}" } # figure out better logging+ end++ info "Found #{folders.size} folders. #{folders}"++ foldersenddef project_tokens(project_storage)diff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex 03d367b6360..60422aa37c5 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -127,14 +127,12 @@ en:remote_folders:request_error: OpenProject could not access your drive %{drive_id}. Please check if your storage configuration is correct.rename_project_folder:- forbidden: OpenProject does not have access to %{current_path} in order to rename it.conflict: OpenProject could not rename the folder %{current_path} to %{project_folder_name} as a folder with the same name already exists+ forbidden: OpenProject does not have access to %{current_path} in order to rename it.not_found: "%{current_path} wasn't found."set_folders_permissions:permission_not_set: could not set permissions on %{path}.error: An unexpected error occurred. Please ensure that you Nextcloud instance is reachable and check OpenProject worker logs for more information- group_does_not_exist: "%{group} does not exit. Check your Nextcloud instance configuration."- insufficient_privileges: OpenProject does not have enough privileges to add %{user} to %{group}. Check you group settings in Nextcloud.not_allowed: OpenProject wasn't allowed to access your OneDrive drive. Please check the permissions set on the Azure Application.unauthorized: OpenProject could not sync with OneDrive. Please check you storage and Azure Application configuration.user_does_not_exist: "%{user} does not exist in Nextcloud."diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rbindex 88408e2f40a..368469c844e 100644--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/set_permissions_command_spec.rb@@ -37,6 +37,8 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissiodrive_id: "b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy")end+ let(:auth_strategy) { Storages::Peripherals::StorageInteraction::AuthenticationStrategies::OAuthClientCredentials.new }+let(:permissions_command) { described_class.new(storage) }let(:folder) do@@ -59,7 +61,8 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissioexpect(described_class).to respond_to(:call)method = described_class.method(:call)- expect(method.parameters).to contain_exactly(%i[keyreq storage], %i[keyreq path], %i[keyreq permissions])+ expect(method.parameters).to contain_exactly(%i[keyreq auth_strategy], %i[keyreq storage],+ %i[keyreq path], %i[keyreq permissions])enddescribe "#call" do@@ -71,7 +74,8 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissiocontext "when trying to access a non-existing driveItem" doit "returns a failure", vcr: "one_drive/set_permissions_not_found_folder" do- result = permissions_command.call(path: "THIS_IS_NOT_THE_FOLDER_YOURE_LOOKING_FOR", permissions: { write: [] })+ result = permissions_command.call(auth_strategy:, path: "THIS_IS_NOT_THE_FOLDER_YOURE_LOOKING_FOR",+ permissions: { write: [] })expect(result).to be_failureexpect(result.result).to eq(:not_found)@@ -81,19 +85,19 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissiocontext "when a permission set already exists" doit "replaces the write permission grant with the provided list",vcr: "one_drive/set_permissions_replace_permissions_write" do- permissions_command.call(path:, permissions: { write: ["84acc1d5-61be-470b-9d79-0d1f105c2c5f"] })+ permissions_command.call(auth_strategy:, path:, permissions: { write: ["84acc1d5-61be-470b-9d79-0d1f105c2c5f"] })expect(user_list("write")).to match_array("84acc1d5-61be-470b-9d79-0d1f105c2c5f")- permissions_command.call(path:, permissions: { write: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })+ permissions_command.call(auth_strategy:, path:, permissions: { write: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })expect(user_list("write")).to match_array("d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce")endit "replaces the read permission grant with the provided list",vcr: "one_drive/set_permissions_replace_permissions_read" do- permissions_command.call(path:, permissions: { read: ["84acc1d5-61be-470b-9d79-0d1f105c2c5f"] })+ permissions_command.call(auth_strategy:, path:, permissions: { read: ["84acc1d5-61be-470b-9d79-0d1f105c2c5f"] })expect(user_list("read")).to match_array("84acc1d5-61be-470b-9d79-0d1f105c2c5f")- permissions_command.call(path:, permissions: { read: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })+ permissions_command.call(auth_strategy:, path:, permissions: { read: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })expect(user_list("read")).to match_array("d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce")endend@@ -103,7 +107,7 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissiocurrent_roles = remote_permissions.map { |permission| permission[:roles].first }expect(current_roles).not_to include("write")- permissions_command.call(path:, permissions: { write: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })+ permissions_command.call(auth_strategy:, path:, permissions: { write: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })current_roles = remote_permissions.map { |permission| permission[:roles].first }expect(current_roles).to include("write")@@ -113,7 +117,7 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissiocurrent_roles = remote_permissions.map { |permission| permission[:roles].first }expect(current_roles).not_to include("read")- permissions_command.call(path:, permissions: { read: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })+ permissions_command.call(auth_strategy:, path:, permissions: { read: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })current_roles = remote_permissions.map { |permission| permission[:roles].first }expect(current_roles).to include("read")@@ -122,22 +126,22 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissiocontext "when there are no user to set permissions" doit "deletes the write permission", vcr: "one_drive/set_permissions_delete_permission_write" do- permissions_command.call(path:, permissions: { write: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })+ permissions_command.call(auth_strategy:, path:, permissions: { write: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })current_roles = remote_permissions.map { |permission| permission[:roles].first }expect(current_roles).to include("write")- permissions_command.call(path:, permissions: { write: [] })+ permissions_command.call(auth_strategy:, path:, permissions: { write: [] })current_roles = remote_permissions.map { |permission| permission[:roles].first }expect(current_roles).not_to include("write")endit "deletes the read permission", vcr: "one_drive/set_permissions_delete_permission_read" do- permissions_command.call(path:, permissions: { read: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })+ permissions_command.call(auth_strategy:, path:, permissions: { read: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })current_roles = remote_permissions.map { |permission| permission[:roles].first }expect(current_roles).to include("read")- permissions_command.call(path:, permissions: { read: [] })+ permissions_command.call(auth_strategy:, path:, permissions: { read: [] })current_roles = remote_permissions.map { |permission| permission[:roles].first }expect(current_roles).not_to include("read")@@ -147,16 +151,19 @@ RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::SetPermissiocontext "when there is a timeout" doit "logs a warning and does not raise NoMethodError", vcr: "one_drive/set_permissions_delete_permission_read" dostub_request_with_timeout(:post, /invite$/)- allow(OpenProject.logger).to receive(:warn)-- permissions_command.call(path:, permissions: { read: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })-- expect(OpenProject.logger)- .to have_received(:warn)- .with(command: described_class,- message: nil,- data: { body: match_regex(%r{/lib/httpx/response.rb:260:in `full_message': timed out while waiting on select \(HTTPX::ConnectTimeoutError\)\n$}),- status: nil }).once+ allow(Rails.logger).to receive(:error)++ permissions_command.call(auth_strategy:, path:, permissions: { read: ["d6e00f6d-1ae7-43e6-b0af-15d99a56d4ce"] })++ # rubocop:disable Layout/LineLength+ expect(Rails.logger)+ .to have_received(:error)+ .with(+ error_code: :error,+ message: nil,+ data: %r{/lib/httpx/response.rb:260:in `full_message': timed out while waiting on select \(HTTPX::ConnectTimeoutError\)\n$}+ ).once+ # rubocop:enable Layout/LineLengthendendenddiff --git a/modules/storages/spec/services/storages/one_drive_managed_folder_sync_service_spec.rb b/modules/storages/spec/services/storages/one_drive_managed_folder_sync_service_spec.rbindex 00ab1d9a6cc..5ecc2b3dc57 100644--- a/modules/storages/spec/services/storages/one_drive_managed_folder_sync_service_spec.rb+++ b/modules/storages/spec/services/storages/one_drive_managed_folder_sync_service_spec.rb@@ -264,13 +264,12 @@ RSpec.describe Storages::OneDriveManagedFolderSyncService, :webmock doendit "does not break in case of timeout", vcr: "one_drive/sync_service_timeout" do+ skip "The timeout setting isn't working as expected"stub_request_with_timeout(:get, /\/root\/children$/)- service_result = service.call-- expect(service_result).to be_failure+ service.callexpect(Rails.logger)- .to have_received(:warn)+ .to have_received(:error).with(command: described_class,message: nil,data: { body: /timed out while waiting on select/, status: nil })diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/sync_service_timeout.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/sync_service_timeout.ymldeleted file mode 100644index f0b6a2c5677..00000000000--- a/modules/storages/spec/support/fixtures/vcr_cassettes/one_drive/sync_service_timeout.yml+++ /dev/null@@ -1,972 +0,0 @@-----http_interactions:-- request:- method: post- uri: https://login.microsoftonline.com/4d44bf36-9b56-45c0-8807-bbf386dd047f/oauth2/v2.0/token- body:- encoding: ASCII-8BIT- string: grant_type=client_credentials&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default+offline_access&client_id=4262df2b-77bb-49c2-a5df-28355da676d2&client_secret=Vwk8Q%7EJTuPh.pAjvPiWBQBdTFMDK%7EAIwxbj9_axB- headers:- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Content-Type:- - application/x-www-form-urlencoded- Content-Length:- - '201'- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Pragma:- - no-cache- Content-Type:- - application/json; charset=utf-8- Expires:- - "-1"- Strict-Transport-Security:- - max-age=31536000; includeSubDomains- X-Content-Type-Options:- - nosniff- P3p:- - CP="DSP CUR OTPi IND OTRi ONL FIN"- X-Ms-Request-Id:- - 781dfaff-d296-477a-b201-e7e1b650a200- X-Ms-Ests-Server:- - 2.1.18517.11 - FRC ProdSlices- X-Ms-Srs:- - 1.P- X-Xss-Protection:- - '0'- Set-Cookie:- - fpc=AklcpN1BDlxGgmwf9RiKmLSkbDoXAQAAAMYQNN4OAAAA; expires=Sat, 24-Aug-2024- 09:24:22 GMT; path=/; secure; HttpOnly; SameSite=None, x-ms-gateway-slice=estsfd;- path=/; secure; samesite=none; httponly, stsservicecookie=estsfd; path=/;- secure; samesite=none; httponly- Date:- - Thu, 25 Jul 2024 09:24:22 GMT- Content-Length:- - '1765'- body:- encoding: UTF-8- string: '{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"<ACCESS_TOKEN>"}'- recorded_at: Thu, 25 Jul 2024 09:24:22 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root/children?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference- body:- encoding: US-ASCII- string: ''- headers:- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Authorization:- - Bearer <BEARER TOKEN>- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 2d459cb1-71cf-4e26-a8d9-5b79df319243- Client-Request-Id:- - 2d459cb1-71cf-4e26-a8d9-5b79df319243- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000D36"}}'- Date:- - Thu, 25 Jul 2024 09:24:22 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)","value":[]}'- recorded_at: Thu, 25 Jul 2024 09:24:23 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root?$select=id,name,size,webUrl,lastModifiedBy,createdBy,fileSystemInfo,file,folder,parentReference- body:- encoding: US-ASCII- string: ''- headers:- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Authorization:- - Bearer <BEARER TOKEN>- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 1221a6f3-c2cd-4527-b54b-51d7a1289789- Client-Request-Id:- - 1221a6f3-c2cd-4527-b54b-51d7a1289789- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000D36"}}'- Date:- - Thu, 25 Jul 2024 09:24:22 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"root","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/Manual%20Sharing%20Test","fileSystemInfo":{"createdDateTime":"2023-12-15T14:34:30Z","lastModifiedDateTime":"2024-07-25T09:03:19Z"},"folder":{"childCount":0},"size":0}'- recorded_at: Thu, 25 Jul 2024 09:24:23 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root/children- body:- encoding: UTF-8- string: '{"name":"[Sample] Project Name _ Ehuu (1590)","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Content-Type:- - application/json- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Content-Length:- - '101'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{E679BE9A-0C5B-4195-A61A-ABE07CFA67B7},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy')/items('root')/children('01AZJL5PM2XZ46MWYMSVA2MGVL4B6PUZ5X')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 49a2cbd4-a671-4679-bd2a-2986ff79e236- Client-Request-Id:- - 49a2cbd4-a671-4679-bd2a-2986ff79e236- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000AF2"}}'- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:23 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy'')/root/children/$entity","@odata.etag":"\"{E679BE9A-0C5B-4195-A61A-ABE07CFA67B7},1\"","createdDateTime":"2024-07-25T09:24:24Z","eTag":"\"{E679BE9A-0C5B-4195-A61A-ABE07CFA67B7},1\"","id":"01AZJL5PM2XZ46MWYMSVA2MGVL4B6PUZ5X","lastModifiedDateTime":"2024-07-25T09:24:24Z","name":"[Sample]- Project Name _ Ehuu (1590)","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/Manual%20Sharing%20Test/%5BSample%5D%20Project%20Name%20_%20Ehuu%20(1590)","cTag":"\"c:{E679BE9A-0C5B-4195-A61A-ABE07CFA67B7},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy","driveType":"documentLibrary","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root:","sharepointIds":{"listId":"f7f90ed1-a285-40e2-8841-e5460d76a332","listItemUniqueId":"a7a7b4ec-acc5-4a83-a405-2cd7418e7467","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-07-25T09:24:24Z","lastModifiedDateTime":"2024-07-25T09:24:24Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'- recorded_at: Thu, 25 Jul 2024 09:24:23 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root/children- body:- encoding: UTF-8- string: '{"name":"_=o=_ _ _Jedi_ Project Folder ___ (1591)","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Content-Type:- - application/json- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Content-Length:- - '106'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{DD703E22-43CC-4BD1-9F9B-7FFBEFFFEFA4},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy')/items('root')/children('01AZJL5PJCHZYN3TCD2FFZ7G377PX7735E')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 7700cee5-066c-4c22-8a5c-b2cb239a28c1- Client-Request-Id:- - 7700cee5-066c-4c22-8a5c-b2cb239a28c1- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000AF7"}}'- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:23 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy'')/root/children/$entity","@odata.etag":"\"{DD703E22-43CC-4BD1-9F9B-7FFBEFFFEFA4},1\"","createdDateTime":"2024-07-25T09:24:24Z","eTag":"\"{DD703E22-43CC-4BD1-9F9B-7FFBEFFFEFA4},1\"","id":"01AZJL5PJCHZYN3TCD2FFZ7G377PX7735E","lastModifiedDateTime":"2024-07-25T09:24:24Z","name":"_=o=_- _ _Jedi_ Project Folder ___ (1591)","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/Manual%20Sharing%20Test/_=o=_%20_%20_Jedi_%20Project%20Folder%20___%20(1591)","cTag":"\"c:{DD703E22-43CC-4BD1-9F9B-7FFBEFFFEFA4},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy","driveType":"documentLibrary","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root:","sharepointIds":{"listId":"f7f90ed1-a285-40e2-8841-e5460d76a332","listItemUniqueId":"a7a7b4ec-acc5-4a83-a405-2cd7418e7467","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-07-25T09:24:24Z","lastModifiedDateTime":"2024-07-25T09:24:24Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'- recorded_at: Thu, 25 Jul 2024 09:24:24 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root/children- body:- encoding: UTF-8- string: '{"name":"PUBLIC PROJECT (1593)","folder":{},"@microsoft.graph.conflictBehavior":"fail"}'- headers:- Content-Type:- - application/json- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Content-Length:- - '87'- response:- status:- code: 201- message: Created- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Etag:- - '"{F6A5CAFD-20E0-4597-A68C-BDBB7100ADF6},1"'- Location:- - https://finn.sharepoint.com/_api/v2.0/drives('b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy')/items('root')/children('01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW')- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - aca20612-9c28-457b-adf8-8167c1f0ca1b- Client-Request-Id:- - aca20612-9c28-457b-adf8-8167c1f0ca1b- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00001213"}}'- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:24 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy'')/root/children/$entity","@odata.etag":"\"{F6A5CAFD-20E0-4597-A68C-BDBB7100ADF6},1\"","createdDateTime":"2024-07-25T09:24:25Z","eTag":"\"{F6A5CAFD-20E0-4597-A68C-BDBB7100ADF6},1\"","id":"01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW","lastModifiedDateTime":"2024-07-25T09:24:25Z","name":"PUBLIC- PROJECT (1593)","size":0,"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/Manual%20Sharing%20Test/PUBLIC%20PROJECT%20(1593)","cTag":"\"c:{F6A5CAFD-20E0-4597-A68C-BDBB7100ADF6},0\"","commentSettings":{"commentingDisabled":{"isDisabled":false}},"createdBy":{"application":{"displayName":"OpenProject- Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"lastModifiedBy":{"application":{"displayName":"OpenProject Dev App","id":"4262df2b-77bb-49c2-a5df-28355da676d2"},"user":{"displayName":"SharePoint- App"}},"parentReference":{"driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy","driveType":"documentLibrary","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root:","sharepointIds":{"listId":"f7f90ed1-a285-40e2-8841-e5460d76a332","listItemUniqueId":"a7a7b4ec-acc5-4a83-a405-2cd7418e7467","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50","siteUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests","tenantId":"4d44bf36-9b56-45c0-8807-bbf386dd047f","webId":"7ef259e8-8eed-4645-920a-8b367bb0d8e0"}},"fileSystemInfo":{"createdDateTime":"2024-07-25T09:24:25Z","lastModifiedDateTime":"2024-07-25T09:24:25Z"},"folder":{"childCount":0},"shared":{"scope":"unknown"}}'- recorded_at: Thu, 25 Jul 2024 09:24:25 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PM2XZ46MWYMSVA2MGVL4B6PUZ5X- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - a7bc4601-b0c3-471f-860c-0d272bfeaa35- Client-Request-Id:- - a7bc4601-b0c3-471f-860c-0d272bfeaa35- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00001214"}}'- Date:- - Thu, 25 Jul 2024 09:24:24 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","@microsoft.graph.Decorator":"decorator- has been deprecated. Refer to folder.decorator","createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-07-25T09:24:24Z","eTag":"\"{E679BE9A-0C5B-4195-A61A-ABE07CFA67B7},2\"","id":"01AZJL5PM2XZ46MWYMSVA2MGVL4B6PUZ5X","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-07-25T09:24:24Z","name":"[Sample]- Project Name _ Ehuu (1590)","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"Manual- Sharing Test","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/Manual%20Sharing%20Test/%5BSample%5D%20Project%20Name%20_%20Ehuu%20(1590)","cTag":"\"c:{E679BE9A-0C5B-4195-A61A-ABE07CFA67B7},0\"","fileSystemInfo":{"createdDateTime":"2024-07-25T09:24:24Z","lastModifiedDateTime":"2024-07-25T09:24:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'- recorded_at: Thu, 25 Jul 2024 09:24:25 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PM2XZ46MWYMSVA2MGVL4B6PUZ5X/permissions- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 4ef3c4fe-5401-4af0-b3b5-f1842fe9b2c5- Client-Request-Id:- - 4ef3c4fe-5401-4af0-b3b5-f1842fe9b2c5- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00001214"}}'- Link:- - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",- <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"- Deprecation:- - Fri, 03 Sep 2021 23:59:59 GMT- Sunset:- - Sun, 01 Oct 2023 23:59:59 GMT- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:25 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy'')/items(''01AZJL5PM2XZ46MWYMSVA2MGVL4B6PUZ5X'')/permissions","value":[{"id":"T3BlblByb2plY3QgZmlsZSBzdG9yYWdlIHRlc3RzIE93bmVycw","roles":["owner"],"shareId":"T3BlblByb2plY3QgZmlsZSBzdG9yYWdlIHRlc3RzIE93bmVycw","grantedToV2":{"siteGroup":{"displayName":"OpenProject- file storage tests Owners","id":"3","loginName":"OpenProject file storage- tests Owners"}},"grantedTo":{"user":{"displayName":"OpenProject file storage- tests Owners"}},"inheritedFrom":{}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8ZXNjaHViZXJ0Lm9wX291dGxvb2suY29tI2V4dCNAZmlubi5vbm1pY3Jvc29mdC5jb20","roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8ZXNjaHViZXJ0Lm9wX291dGxvb2suY29tI2V4dCNAZmlubi5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Eric- Schubert","email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a"},"siteUser":{"displayName":"Eric- Schubert","email":"[email protected]","id":"12","loginName":"i:0#.f|membership|eschubert.op_outlook.com#ext#@finn.onmicrosoft.com"}},"grantedTo":{"user":{"displayName":"Eric- Schubert","email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NTg1NGI4YTYtNzg5Yi00M2E1LWI3Y2QtMWYwMGFkNGJkMDMwX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NTg1NGI4YTYtNzg5Yi00M2E1LWI3Y2QtMWYwMGFkNGJkMDMwX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"5854b8a6-789b-43a5-b7cd-1f00ad4bd030"},"siteUser":{"displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5854b8a6-789b-43a5-b7cd-1f00ad4bd030_o"}},"grantedTo":{"user":{"displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"5854b8a6-789b-43a5-b7cd-1f00ad4bd030"}},"inheritedFrom":{}}]}'- recorded_at: Thu, 25 Jul 2024 09:24:25 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PM2XZ46MWYMSVA2MGVL4B6PUZ5X/invite- body:- encoding: UTF-8- string: '{"requireSignIn":true,"sendInvitation":false,"roles":["write"],"recipients":[{"objectId":"33db2c84-275d-46af-afb0-c26eb786b194"},{"objectId":"2ff33b8f-2843-40c1-9a17-d786bca17fba"},{"objectId":"248aeb72-b231-4e71-a466-67fa7df2a285"}]}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Content-Type:- - application/json; charset=utf-8- Content-Length:- - '234'- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Location:- - https://graph.microsoft.com- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 00ad65ae-a00a-49de-b459-dd8a7918b3dd- Client-Request-Id:- - 00ad65ae-a00a-49de-b459-dd8a7918b3dd- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00001214"}}'- Link:- - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",- <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"- Deprecation:- - Fri, 03 Sep 2021 23:59:59 GMT- Sunset:- - Sun, 01 Oct 2023 23:59:59 GMT- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:26 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8dGVzdG1hbmFnZXIwMS5vcF9vdXRsb29rLmNvbSNleHQjQGZpbm4ub25taWNyb3NvZnQuY29t","roles":["write"],"grantedTo":{"user":{"email":"[email protected]","id":"33db2c84-275d-46af-afb0-c26eb786b194","displayName":"Test- Manager 01"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8dGVzdHVzZXIwMi5vcF9vdXRsb29rLmNvbSNleHQjQGZpbm4ub25taWNyb3NvZnQuY29t","roles":["write"],"grantedTo":{"user":{"email":"[email protected]","id":"2ff33b8f-2843-40c1-9a17-d786bca17fba","displayName":"Test- user 02"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8dGVzdHVzZXIwMS5vcF9vdXRsb29rLmNvbSNleHQjQGZpbm4ub25taWNyb3NvZnQuY29t","roles":["write"],"grantedTo":{"user":{"email":"[email protected]","id":"248aeb72-b231-4e71-a466-67fa7df2a285","displayName":"Test- user 01"}}}]}'- recorded_at: Thu, 25 Jul 2024 09:24:27 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PJCHZYN3TCD2FFZ7G377PX7735E- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - a7122558-1c8b-4646-997d-7cbf1a71f2e0- Client-Request-Id:- - a7122558-1c8b-4646-997d-7cbf1a71f2e0- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000AF6"}}'- Date:- - Thu, 25 Jul 2024 09:24:26 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","@microsoft.graph.Decorator":"decorator- has been deprecated. Refer to folder.decorator","createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-07-25T09:24:24Z","eTag":"\"{DD703E22-43CC-4BD1-9F9B-7FFBEFFFEFA4},2\"","id":"01AZJL5PJCHZYN3TCD2FFZ7G377PX7735E","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-07-25T09:24:24Z","name":"_=o=_- _ _Jedi_ Project Folder ___ (1591)","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"Manual- Sharing Test","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/Manual%20Sharing%20Test/_=o=_%20_%20_Jedi_%20Project%20Folder%20___%20(1591)","cTag":"\"c:{DD703E22-43CC-4BD1-9F9B-7FFBEFFFEFA4},0\"","fileSystemInfo":{"createdDateTime":"2024-07-25T09:24:24Z","lastModifiedDateTime":"2024-07-25T09:24:24Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'- recorded_at: Thu, 25 Jul 2024 09:24:27 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PJCHZYN3TCD2FFZ7G377PX7735E/permissions- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 3c5c1dc3-4a3c-4a37-a3ed-3041d1ccbc54- Client-Request-Id:- - 3c5c1dc3-4a3c-4a37-a3ed-3041d1ccbc54- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000AF6"}}'- Link:- - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",- <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"- Deprecation:- - Fri, 03 Sep 2021 23:59:59 GMT- Sunset:- - Sun, 01 Oct 2023 23:59:59 GMT- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:26 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy'')/items(''01AZJL5PJCHZYN3TCD2FFZ7G377PX7735E'')/permissions","value":[{"id":"T3BlblByb2plY3QgZmlsZSBzdG9yYWdlIHRlc3RzIE93bmVycw","roles":["owner"],"shareId":"T3BlblByb2plY3QgZmlsZSBzdG9yYWdlIHRlc3RzIE93bmVycw","grantedToV2":{"siteGroup":{"displayName":"OpenProject- file storage tests Owners","id":"3","loginName":"OpenProject file storage- tests Owners"}},"grantedTo":{"user":{"displayName":"OpenProject file storage- tests Owners"}},"inheritedFrom":{}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8ZXNjaHViZXJ0Lm9wX291dGxvb2suY29tI2V4dCNAZmlubi5vbm1pY3Jvc29mdC5jb20","roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8ZXNjaHViZXJ0Lm9wX291dGxvb2suY29tI2V4dCNAZmlubi5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Eric- Schubert","email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a"},"siteUser":{"displayName":"Eric- Schubert","email":"[email protected]","id":"12","loginName":"i:0#.f|membership|eschubert.op_outlook.com#ext#@finn.onmicrosoft.com"}},"grantedTo":{"user":{"displayName":"Eric- Schubert","email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NTg1NGI4YTYtNzg5Yi00M2E1LWI3Y2QtMWYwMGFkNGJkMDMwX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NTg1NGI4YTYtNzg5Yi00M2E1LWI3Y2QtMWYwMGFkNGJkMDMwX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"5854b8a6-789b-43a5-b7cd-1f00ad4bd030"},"siteUser":{"displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5854b8a6-789b-43a5-b7cd-1f00ad4bd030_o"}},"grantedTo":{"user":{"displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"5854b8a6-789b-43a5-b7cd-1f00ad4bd030"}},"inheritedFrom":{}}]}'- recorded_at: Thu, 25 Jul 2024 09:24:27 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PJCHZYN3TCD2FFZ7G377PX7735E/invite- body:- encoding: UTF-8- string: '{"requireSignIn":true,"sendInvitation":false,"roles":["write"],"recipients":[{"objectId":"33db2c84-275d-46af-afb0-c26eb786b194"},{"objectId":"248aeb72-b231-4e71-a466-67fa7df2a285"}]}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Content-Type:- - application/json; charset=utf-8- Content-Length:- - '182'- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Location:- - https://graph.microsoft.com- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 6565da45-a959-44c8-984f-bbdc831fe57b- Client-Request-Id:- - 6565da45-a959-44c8-984f-bbdc831fe57b- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000AF6"}}'- Link:- - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",- <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"- Deprecation:- - Fri, 03 Sep 2021 23:59:59 GMT- Sunset:- - Sun, 01 Oct 2023 23:59:59 GMT- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:27 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8dGVzdG1hbmFnZXIwMS5vcF9vdXRsb29rLmNvbSNleHQjQGZpbm4ub25taWNyb3NvZnQuY29t","roles":["write"],"grantedTo":{"user":{"email":"[email protected]","id":"33db2c84-275d-46af-afb0-c26eb786b194","displayName":"Test- Manager 01"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8dGVzdHVzZXIwMS5vcF9vdXRsb29rLmNvbSNleHQjQGZpbm4ub25taWNyb3NvZnQuY29t","roles":["write"],"grantedTo":{"user":{"email":"[email protected]","id":"248aeb72-b231-4e71-a466-67fa7df2a285","displayName":"Test- user 01"}}}]}'- recorded_at: Thu, 25 Jul 2024 09:24:28 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false;- charset=utf-8- Content-Encoding:- - gzip- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 0060442e-d137-4cf5-a76d-1b0b37faa12c- Client-Request-Id:- - 0060442e-d137-4cf5-a76d-1b0b37faa12c- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000C25"}}'- Date:- - Thu, 25 Jul 2024 09:24:28 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)/$entity","@microsoft.graph.Decorator":"decorator- has been deprecated. Refer to folder.decorator","createdBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"createdDateTime":"2024-07-25T09:24:25Z","eTag":"\"{F6A5CAFD-20E0-4597-A68C-BDBB7100ADF6},2\"","id":"01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW","lastModifiedBy":{"application":{"id":"4262df2b-77bb-49c2-a5df-28355da676d2","displayName":"OpenProject- Dev App"},"user":{"displayName":"SharePoint App"}},"lastModifiedDateTime":"2024-07-25T09:24:25Z","name":"PUBLIC- PROJECT (1593)","parentReference":{"driveType":"documentLibrary","driveId":"b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy","id":"01AZJL5PN6Y2GOVW7725BZO354PWSELRRZ","name":"Manual- Sharing Test","path":"/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/root:","siteId":"1b4b6576-906d-4d94-8f49-6d00a9507b50"},"webUrl":"https://finn.sharepoint.com/sites/openprojectfilestoragetests/Manual%20Sharing%20Test/PUBLIC%20PROJECT%20(1593)","cTag":"\"c:{F6A5CAFD-20E0-4597-A68C-BDBB7100ADF6},0\"","fileSystemInfo":{"createdDateTime":"2024-07-25T09:24:25Z","lastModifiedDateTime":"2024-07-25T09:24:25Z"},"folder":{"childCount":0},"shared":{"scope":"users"},"size":0}'- recorded_at: Thu, 25 Jul 2024 09:24:29 GMT-- request:- method: get- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW/permissions- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - cc853314-cfa9-413f-bd5d-a1cc1da3ffbb- Client-Request-Id:- - cc853314-cfa9-413f-bd5d-a1cc1da3ffbb- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000C25"}}'- Link:- - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",- <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"- Deprecation:- - Fri, 03 Sep 2021 23:59:59 GMT- Sunset:- - Sun, 01 Oct 2023 23:59:59 GMT- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:28 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives(''b%21dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy'')/items(''01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW'')/permissions","value":[{"id":"T3BlblByb2plY3QgZmlsZSBzdG9yYWdlIHRlc3RzIE93bmVycw","roles":["owner"],"shareId":"T3BlblByb2plY3QgZmlsZSBzdG9yYWdlIHRlc3RzIE93bmVycw","grantedToV2":{"siteGroup":{"displayName":"OpenProject- file storage tests Owners","id":"3","loginName":"OpenProject file storage- tests Owners"}},"grantedTo":{"user":{"displayName":"OpenProject file storage- tests Owners"}},"inheritedFrom":{}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8ZXNjaHViZXJ0Lm9wX291dGxvb2suY29tI2V4dCNAZmlubi5vbm1pY3Jvc29mdC5jb20","roles":["owner"],"shareId":"aTowIy5mfG1lbWJlcnNoaXB8ZXNjaHViZXJ0Lm9wX291dGxvb2suY29tI2V4dCNAZmlubi5vbm1pY3Jvc29mdC5jb20","grantedToV2":{"user":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"Eric- Schubert","email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a"},"siteUser":{"displayName":"Eric- Schubert","email":"[email protected]","id":"12","loginName":"i:0#.f|membership|eschubert.op_outlook.com#ext#@finn.onmicrosoft.com"}},"grantedTo":{"user":{"displayName":"Eric- Schubert","email":"[email protected]","id":"0a0d38a9-a59b-4245-93fa-0d2cf727f17a"}},"inheritedFrom":{}},{"id":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NTg1NGI4YTYtNzg5Yi00M2E1LWI3Y2QtMWYwMGFkNGJkMDMwX28","roles":["owner"],"shareId":"Yzowby5jfGZlZGVyYXRlZGRpcmVjdG9yeWNsYWltcHJvdmlkZXJ8NTg1NGI4YTYtNzg5Yi00M2E1LWI3Y2QtMWYwMGFkNGJkMDMwX28","grantedToV2":{"group":{"@odata.type":"#microsoft.graph.sharePointIdentity","displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"5854b8a6-789b-43a5-b7cd-1f00ad4bd030"},"siteUser":{"displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"6","loginName":"c:0o.c|federateddirectoryclaimprovider|5854b8a6-789b-43a5-b7cd-1f00ad4bd030_o"}},"grantedTo":{"user":{"displayName":"OpenProject- file storage tests Owners","email":"[email protected]","id":"5854b8a6-789b-43a5-b7cd-1f00ad4bd030"}},"inheritedFrom":{}}]}'- recorded_at: Thu, 25 Jul 2024 09:24:29 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW/invite- body:- encoding: UTF-8- string: '{"requireSignIn":true,"sendInvitation":false,"roles":["read"],"recipients":[{"objectId":"2ff33b8f-2843-40c1-9a17-d786bca17fba"},{"objectId":"248aeb72-b231-4e71-a466-67fa7df2a285"}]}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Content-Type:- - application/json; charset=utf-8- Content-Length:- - '181'- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Location:- - https://graph.microsoft.com- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 8fad2d46-7557-48d2-90f3-ed71d8140708- Client-Request-Id:- - 8fad2d46-7557-48d2-90f3-ed71d8140708- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000C25"}}'- Link:- - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",- <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"- Deprecation:- - Fri, 03 Sep 2021 23:59:59 GMT- Sunset:- - Sun, 01 Oct 2023 23:59:59 GMT- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:29 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8dGVzdHVzZXIwMi5vcF9vdXRsb29rLmNvbSNleHQjQGZpbm4ub25taWNyb3NvZnQuY29t","roles":["read"],"grantedTo":{"user":{"email":"[email protected]","id":"2ff33b8f-2843-40c1-9a17-d786bca17fba","displayName":"Test- user 02"}}},{"id":"aTowIy5mfG1lbWJlcnNoaXB8dGVzdHVzZXIwMS5vcF9vdXRsb29rLmNvbSNleHQjQGZpbm4ub25taWNyb3NvZnQuY29t","roles":["read"],"grantedTo":{"user":{"email":"[email protected]","id":"248aeb72-b231-4e71-a466-67fa7df2a285","displayName":"Test- user 01"}}}]}'- recorded_at: Thu, 25 Jul 2024 09:24:30 GMT-- request:- method: post- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW/invite- body:- encoding: UTF-8- string: '{"requireSignIn":true,"sendInvitation":false,"roles":["write"],"recipients":[{"objectId":"33db2c84-275d-46af-afb0-c26eb786b194"}]}'- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- Content-Type:- - application/json; charset=utf-8- Content-Length:- - '130'- response:- status:- code: 200- message: OK- headers:- Cache-Control:- - no-store, no-cache- Content-Type:- - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8- Content-Encoding:- - gzip- Location:- - https://graph.microsoft.com- Vary:- - Accept-Encoding- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - f18cf623-ad40-401e-9e15-f6dd77b4673c- Client-Request-Id:- - f18cf623-ad40-401e-9e15-f6dd77b4673c- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000C25"}}'- Link:- - <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html",- <https://developer.microsoft-tst.com/en-us/graph/changes?$filterby=v1.0,Removal&from=2021-09-01&to=2021-10-01>;rel="deprecation";type="text/html"- Deprecation:- - Fri, 03 Sep 2021 23:59:59 GMT- Sunset:- - Sun, 01 Oct 2023 23:59:59 GMT- Odata-Version:- - '4.0'- Date:- - Thu, 25 Jul 2024 09:24:30 GMT- body:- encoding: UTF-8- string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.permission)","value":[{"id":"aTowIy5mfG1lbWJlcnNoaXB8dGVzdG1hbmFnZXIwMS5vcF9vdXRsb29rLmNvbSNleHQjQGZpbm4ub25taWNyb3NvZnQuY29t","roles":["write"],"grantedTo":{"user":{"email":"[email protected]","id":"33db2c84-275d-46af-afb0-c26eb786b194","displayName":"Test- Manager 01"}}}]}'- recorded_at: Thu, 25 Jul 2024 09:24:31 GMT-- request:- method: delete- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PM2XZ46MWYMSVA2MGVL4B6PUZ5X- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 204- message: No Content- headers:- Cache-Control:- - no-store, no-cache- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - adf556b3-34f3-4a2a-a5f0-647bfa410a41- Client-Request-Id:- - adf556b3-34f3-4a2a-a5f0-647bfa410a41- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00001219"}}'- Date:- - Thu, 25 Jul 2024 09:24:31 GMT- body:- encoding: UTF-8- string: ''- recorded_at: Thu, 25 Jul 2024 09:24:31 GMT-- request:- method: delete- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PJCHZYN3TCD2FFZ7G377PX7735E- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 204- message: No Content- headers:- Cache-Control:- - no-store, no-cache- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 84a08104-e139-42f0-8fac-36e010700aed- Client-Request-Id:- - 84a08104-e139-42f0-8fac-36e010700aed- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00001213"}}'- Date:- - Thu, 25 Jul 2024 09:24:31 GMT- body:- encoding: UTF-8- string: ''- recorded_at: Thu, 25 Jul 2024 09:24:32 GMT-- request:- method: delete- uri: https://graph.microsoft.com/v1.0/drives/b!dmVLG22QlE2PSW0AqVB7UOhZ8n7tjkVGkgqLNnuw2ODRDvn3haLiQIhB5UYNdqMy/items/01AZJL5PP5ZKS7NYBAS5C2NDF5XNYQBLPW- body:- encoding: US-ASCII- string: ''- headers:- Authorization:- - Bearer <BEARER TOKEN>- User-Agent:- - httpx.rb/1.3.0- Accept:- - "*/*"- Accept-Encoding:- - gzip, deflate- response:- status:- code: 204- message: No Content- headers:- Cache-Control:- - no-store, no-cache- Strict-Transport-Security:- - max-age=31536000- Request-Id:- - 12bee35d-e366-4cac-89e5-755f692b3f9e- Client-Request-Id:- - 12bee35d-e366-4cac-89e5-755f692b3f9e- X-Ms-Ags-Diagnostic:- - '{"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"003","RoleInstance":"FR1PEPF00000D36"}}'- Date:- - Thu, 25 Jul 2024 09:24:31 GMT- body:- encoding: UTF-8- string: ''- recorded_at: Thu, 25 Jul 2024 09:24:32 GMT-recorded_with: VCR 6.2.0