Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAD publishing gives permission errors #7804

Open
dannoe opened this issue Jul 23, 2024 · 0 comments
Open

RAD publishing gives permission errors #7804

dannoe opened this issue Jul 23, 2024 · 0 comments
Labels
accepted RAD Issues with RAD

Comments

@dannoe
Copy link

dannoe commented Jul 23, 2024

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

  • Open repro workspace: rad-bug-repro.zip
  • Add launch settings for a version DE 24.3 sandbox to workspace file
  • Download symbols
  • Publish full dependency tree
  • Open the "Customer List" 5 messages are shown and factbox "PartName" appears at the end of the factboxes
  • Uncomment line 32 in CustomerListExt2.PageExt.al (or add some changes to this file)
  • RAD publish with debugging
  • Open the "Customer List" again.
  • Debugger breaks and permission errors are shown in the web client

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:

  • I have SUPER permissions
  • Everything works, if I am not RAD publishing (e.g. normal publish or full dependency tree)
  • I am using object ids outside of the 50000..99999 range (because I am trying to RAD publish our product and not a customer PTE)

5. Versions:

  • AL Language: Version: 14.0.1070882
  • Visual Studio Code: Version: 1.91.1 (user setup)
  • Business Central: DE BC24.3
  • List of Visual Studio Code extensions that you have installed: Does not work even with only AL vsix enabled

Issues that are similar
#7267
#7169
#7175

Internal work item: AB#548305

@thloke thloke added RAD Issues with RAD accepted and removed RAD Issues with RAD requires-triage labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted RAD Issues with RAD
Projects
None yet
Development

No branches or pull requests

3 participants