Changes for page Create Application
Last modified by Thomas Coelho (local) on 2024/02/05 13:38
From version 3.1
edited by Thomas Coelho
on 2022/10/17 13:54
on 2022/10/17 13:54
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/14.8]
To version 5.1
edited by Thomas Coelho (local)
on 2023/07/26 11:22
on 2023/07/26 11:22
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/15.5]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. thw1 +XWiki.coelho - Content
-
... ... @@ -70,6 +70,7 @@ 70 70 #if (!$xwiki.exists($appClassRef)) 71 71 #set ($appHomeRef = $services.model.resolveDocument('', 'default', $appReference)) 72 72 #set ($discard = $queryString.putAll({ 73 + 'form_token': $services.csrf.getToken(), 73 73 'template': 'AppWithinMinutes.ClassTemplate', 74 74 'parent': $services.model.serialize($appHomeRef), 75 75 'title': "$appReference.name Class" ... ... @@ -105,6 +105,11 @@ 105 105 $services.localization.render('platform.appwithinminutes.appNameIsUsedWarning') 106 106 </div> 107 107 #end 109 + #if (!$services.security.authorization.hasAccess('script', $xcontext.userReference, $appHomeRef)) 110 + <div class="box errormessage"> 111 + $escapetool.xml($services.localization.render('platform.appwithinminutes.appHomePageNoScriptRight')) 112 + </div> 113 + #end 108 108 #end 109 109 #end 110 110