Changes for page FAQ
Last modified by teamwire001 on 2025/04/16 07:05
From version 1.1
edited by teamwire001
on 2025/03/31 10:36
on 2025/03/31 10:36
Change comment:
There is no comment for this version
To version 3.9
edited by teamwire001
on 2025/04/03 11:10
on 2025/04/03 11:10
Change comment:
deny view right for XWiki.03-partner
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
-
Objects (0 modified, 4 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,1 +1,49 @@ 1 -{{dashboard/}} 1 +{{velocity}} 2 +#set ($usersGroup = $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.00-user')) 3 +#set ($customerGroup = $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.01-customer')) 4 +#set ($onpremiseGroup = $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.02-onpremise')) 5 +#set ($partnerGroup = $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.03-partner')) 6 +#set ($marketingGroup = $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.04-marketing')) 7 +#set ($teamwireGroup = $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.teamwire')) 8 +#set($firstName = 9 +$xwiki.getDocument($context.user).getObject('XWiki.XWikiUsers').getProperty('first_name').getValue()) 10 +#set($lastName 11 += $xwiki.getDocument($context.user).getObject('XWiki.XWikiUsers').getProperty('last_name').getValue()) 12 + 13 +## ------------------- 14 +## start Guest and 00-user 15 +## ------------------- 16 +#if($isGuest or ($xwiki.getUser($xcontext.user).isUserInGroup('XWiki.00-user'))) 17 + 18 +{{documentTree root="document:xwiki:Public.FAQ.WebHome" compact="true" showTranslations="false" showAttachments="false" limit="999" exclusions="document:xwiki:Public.FAQ.WebPreferences,document:xwiki:Public.FAQ.Code.WebHome" sortDocumentsBy="creationDate:asc"/}} 19 + 20 +#end 21 +## end Guest and 00-user and 01-customer view 22 +## ------------------- 23 +## start 01-customer view 24 +## ------------------- 25 +#if($xwiki.getUser($xcontext.user).isUserInGroup('XWiki.01-customer') or $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.teamwire')) 26 + 27 +{{documentTree root="document:xwiki:Public.FAQ.WebHome" compact="true" showTranslations="false" showAttachments="false" limit="999" exclusions="document:xwiki:Public.FAQ.WebPreferences,document:xwiki:Public.FAQ.Code.WebHome" sortDocumentsBy="creationDate:asc"/}} 28 + 29 +{{documentTree root="document:xwiki:Customer.FAQ.WebHome" compact="true" showTranslations="false" showAttachments="false" limit="999" exclusions="document:xwiki:Customer.FAQ.WebPreferences,document:xwiki:Customer.FAQ.Code.WebHome" sortDocumentsBy="creationDate:asc"/}} 30 +#end 31 +## end Guest and 00-user and 01-customer view 32 +## ------------------- 33 +## start 02-onpremise view 34 +## ------------------- 35 +#if($xwiki.getUser($xcontext.user).isUserInGroup('XWiki.02-onpremise') or $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.teamwire')) 36 + 37 +{{documentTree root="document:xwiki:OnPremise.FAQ.WebHome" compact="true" showTranslations="false" showAttachments="false" limit="999" exclusions="document:xwiki:OnPremise.FAQ.WebPreferences,document:xwiki:OnPremise.FAQ.Code.WebHome" sortDocumentsBy="creationDate:asc"/}} 38 +#end 39 +## end 02-onpremise view 40 +## ------------------- 41 +## start 03-partner view 42 +## ------------------- 43 +#if($xwiki.getUser($xcontext.user).isUserInGroup('XWiki.03-partner') or $xwiki.getUser($xcontext.user).isUserInGroup('XWiki.teamwire')) 44 + 45 +{{documentTree root="document:xwiki:Partner.FAQ.WebHome" compact="true" showTranslations="false" showAttachments="false" limit="999" exclusions="document:xwiki:Partner.FAQ.WebPreferences,document:xwiki:Partner.FAQ.Code.WebHome" sortDocumentsBy="creationDate:asc"/}} 46 + 47 +#end 48 +## end 03-partner view 49 +{{/velocity}}
- kb-login-username.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.teamwire001 - Size
-
... ... @@ -1,0 +1,1 @@ 1 +88.8 KB - Content
- XWiki.GadgetClass[1]
-
- content
-
... ... @@ -1,8 +1,0 @@ 1 -{{velocity}} 2 -#set($tagSpace = $NULL) 3 -#if ($doc.space != "Main") 4 - #set($tagSpace = $services.rendering.escape($doc.space, 'xwiki/2.1')) 5 -#end 6 - 7 -{{tagcloud space="$!tagSpace" /}} 8 -{{/velocity}} - position
-
... ... @@ -1,1 +1,0 @@ 1 -1,2 - title
-
... ... @@ -1,1 +1,0 @@ 1 -$services.localization.render('platform.dashboard.space.tagcloud', [$doc.plainTitle])
- XWiki.GadgetClass[2]
-
- content
-
... ... @@ -1,8 +1,0 @@ 1 -{{velocity}} 2 -#set($aSpace = $NULL) 3 -#if ($doc.space != "Main") 4 - #set ($aSpace = $services.rendering.escape($doc.space, 'xwiki/2.1')) 5 -#end 6 - 7 -{{notifications spaces="$!aSpace" useUserPreferences="false" displayOwnEvents="true" /}} 8 -{{/velocity}} - position
-
... ... @@ -1,1 +1,0 @@ 1 -2,1 - title
-
... ... @@ -1,1 +1,0 @@ 1 -#if ($doc.space != 'Main')$services.localization.render('platform.dashboard.space.activity', [$doc.plainTitle])#{else}$services.localization.render('platform.dashboard.wiki.activity')#end
- XWiki.XWikiRights[1]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Deny - Groups
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.00-user - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view
- XWiki.XWikiRights[3]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Deny - Groups
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.01-customer - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view
- XWiki.XWikiRights[5]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Deny - Groups
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.02-onpremise - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view
- XWiki.XWikiRights[7]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Deny - Groups
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.03-partner - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view