Modifications pour le document Content Report Table Macro
Modifié par superadmin le 21/07/2025 - 08:55
Résumé
-
Objets (1 modifications, 0 ajouts, 0 suppressions)
Détails
- XWiki.WikiMacroClass[0]
-
- Code de la macro
-
... ... @@ -50,7 +50,7 @@ 50 50 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 51 51 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 52 52 ## don't have view right on those pages. 53 -#if ($services. promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))53 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference)) 54 54 #executeMacro 55 55 #else 56 56 {{missingLicenseMessage extensionName="proMacros.extension.name"/}}