Modifications pour le document Expand
Modifié par superadmin le 21/07/2025 - 08:55
Depuis la version 9.1
modifié par superadmin
sur 06/04/2025 - 00:00
sur 06/04/2025 - 00:00
Commentaire de modification :
Install extension [com.xwiki.pro:xwiki-pro-macros-ui/1.26.14]
À la version 11.1
modifié par superadmin
sur 21/07/2025 - 08:55
sur 21/07/2025 - 08:55
Commentaire de modification :
Migrated property [featureMandatory] from class [XWiki.WikiMacroParameterClass]
Résumé
-
Objets (1 modifications, 0 ajouts, 0 suppressions)
Détails
- XWiki.WikiMacroClass[0]
-
- Code de la macro
-
... ... @@ -56,7 +56,7 @@ 56 56 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 57 57 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 58 58 ## don't have view right on those pages. 59 -#if ($services. promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))59 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference)) 60 60 #executeMacro 61 61 #else 62 62 {{missingLicenseMessage extensionName="proMacros.extension.name"/}}