title | issue | author | author_email | author_github |
---|---|---|---|---|
Ask for renewed consent affirmation if app requires new permissions |
NEXT-19353 |
Frederik Schmitt |
fschmtt |
- Added new
Shopware\Core\Framework\App\Delta\DomainsDeltaProvider
to determine domains delta of updatable apps - Added parameter
bool $allowNewPermissions
toShopware\Core\Framework\Store\Services\AbstractExtensionLifecycle::updateExtension()
- Added parameter
bool $allowNewPermissions
toShopware\Core\Framework\Store\Services\ExtensionLifecycle::updateExtension()
- Changed parameter
$allowNewPrivilges
ofShopware\Core\Framework\Store\Services\AbstractStoreAppLifecycleService::updateExtension()
to$allowNewPermissions
- Changed parameter
$allowNewPrivilges
ofShopware\Core\Framework\Store\Services\StoreAppLifecycleService::updateExtension()
to$allowNewPermissions
- Changed method
Shopware\Core\Framework\App\Delta\PermissionsDeltaProvider::getReport()
to return report even if no delta was detected
- Changed route
api.extension.update
to consider consent affirmation before performing an extension update
- Added data
showConsentAffirmationModal
andconsentAffirmationDeltas
tosrc/module/sw-extension/component/sw-extension-card-base/index.js
- Added computed properties
consentAffirmationModalActionLabel
andconsentAffirmationModalTitle
tosrc/module/sw-extension/component/sw-extension-card-base/index.js
- Added parameter
allowNewPermissions
to methodupdateExtension
to consider consent affirmation insrc/module/sw-extension/component/sw-extension-card-base/index.js
- Added methods
openConsentAffirmationModal
,closeConsentAffirmationModal
andcloseConsentAffirmationModalAndUpdateExtension
tosrc/module/sw-extension/component/sw-extension-card-base/index.js
- Added block
sw_extension_card_base_consent_affirmation_modal
tosrc/module/sw-extension/component/sw-extension-card-base/sw-extension-card-base.html.twig
- Added properties
closeLabel
andtitle
tosrc/module/sw-extension/component/sw-extension-permissions-modal/index.js
- Added slot
intro-text
tosrc/module/sw-extension/component/sw-extension-permissions-modal/sw-extension-permissions-modal.html.twig
- Added parameter
allowNewPermissions
to methodupdateExtension
to consider consent affirmation insrc/module/sw-extension/service/extension-store-action.service.ts
- Added parameter
allowNewPermissions
to methodupdateExtension
to consider consent affirmation insrc/module/sw-extension/service/shopware-extension.service.ts