PerTenantExtensionCop Warning PTE0018

Permission set extensions should not include permission sets which include permissions for objects defined in another application.

Description

Permission set extensions should not include permission sets which include permissions for objects defined in another application. This can pose a security risk by granting excessive privileges to users.

PerTenantExtensionCop Analyzer
Getting Started with AL
Developing Extensions