microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
750 stars 247 forks source link

RAD publishing gives permission errors #7804

Open dannoe opened 4 months ago

dannoe commented 4 months ago

1. Describe the bug If we use RAD publishing our app becomes unusable because we are getting a lot of permissions errors and factboxes disappear (probably because of missing permissions)

2. To Reproduce

3. Expected behavior RAD publishing should not give permission errors

4. Actual behavior RAD publishing is giving permission errors

It looks like the permission is only given, if the object is included as a RAD change. If you e.g. change something in the codeunit and RAD publish, you are not going to get the permission error for the codeunit. AND: It also works if you give the objects the InherentEntitlements = X; property.

More information:

5. Versions:

Issues that are similar

7267

7169

7175

Internal work item: AB#548305

minaskats commented 1 month ago

Same errors for permissions with RAD

gntpet commented 1 month ago

Having the same issue with RAD

Image