Duplicate of π Installation error, adding non-existent permissions to a role is not allowed Needs review . Since the other issue is more detailed I would suggest to close this issue as duplicate.
In my opinion the module should only assign permissions related to other modules listed as dependencies in the info.yml.
So either all related modules should be listed as dependencies or the permissions should be removed from the install file.
Apart from this consideration there are permission that were removed from commerce (e.g. 'access cart') or are related to deprecated/unsupported modules (e.g. 'administer swiftmailer').
Access checks are already adressed in π For D10 version: Update accessCheck Needs review . Since the other issue is older and adresses all occurences we should write a MR for π For D10 version: Update accessCheck Needs review and close this issue as duplicate.
Access checks are already adressed in π For D10 version: Update accessCheck Needs review . Since the other issue is older and adresses all occurences we should write a MR for π For D10 version: Update accessCheck Needs review and close this issue as duplicate.