xwikisas / application-licensing

Manage and enforce application licenses for pro extensions
GNU Lesser General Public License v2.1
1 stars 8 forks source link

Rights error displayed for non-admin and guest users in licensed applications #155

Closed oanalavinia closed 10 months ago

oanalavinia commented 10 months ago

Steps to reproduce

  1. Install a licensed application, let's say Diagram
  2. Verify that it depends on Licensor API version 1.24.2 or upgrade to this version
  3. Login with an admin user
  4. Create a diagram and add it to a test page using a diagram macro
  5. Login with a non-admin user and check the diagrams home page and the one that contains the macro

Expected result Everything works as expected an no error is displayed

Actual result The application works, but an error is displayed at the top Home page: image Page with macro: image The error is not interfering with the application functionalities

oanalavinia commented 10 months ago

Cause by https://github.com/xwikisas/application-licensing/commit/d168fb88fc0d121bf95e769ea21c55c00bebe5a6