fix: updating some apps via Marketplace ignores permissions (#35170)

pull/34992/head^2
Douglas Gubert 11 months ago committed by GitHub
parent 9e84ebcf68
commit 083fc49cf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .changeset/mean-elephants-boil.md
  2. 2
      apps/meteor/ee/server/apps/communication/rest.ts

@ -0,0 +1,6 @@
---
'@rocket.chat/apps-engine': patch
'@rocket.chat/meteor': patch
---
Fixes an issue that would cause marketplace apps to become invalid installations after an update

@ -854,6 +854,8 @@ export class AppsRestApi {
orchestrator.getRocketChatLogger().error('Error getting the App from the Marketplace:', e.response.data);
return API.v1.internalError();
}
permissionsGranted = this.bodyParams.permissionsGranted;
} else {
isPrivateAppUpload = true;

Loading…
Cancel
Save