Changes for page Release Notes for XWiki 6.1 RC 1
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -50,10 +50,10 @@ 50 50 #if ($services.security.authorization.hasAccess("edit")) 51 51 ... show some UI that require edit access on the current document by the current user ... 52 52 #end 53 -#if ($services.security.authorization.hasAccess("edit", "xwiki:Sandbox.TestPage1") 53 +#if ($services.security.authorization.hasAccess("edit", "xwiki:Sandbox.TestPage1")) 54 54 ... show some UI that require edit access on Sandbox.TestPage1 document by the current user ... 55 55 #end 56 -#if ($services.security.authorization.hasAccess("edit", "xwiki:XWiki.User1", "xwiki:Sandbox.TestPage1") 56 +#if ($services.security.authorization.hasAccess("edit", "xwiki:XWiki.User1", "xwiki:Sandbox.TestPage1")) 57 57 ... show some UI that require edit access on Sandbox.TestPage1 document by XWiki.User1 ... 58 58 #end 59 59 {{/code}}