Changes for page Right

Last modified by Thomas Mortagne on 2016/02/24 16:18

From version 3.1
edited by Thomas Mortagne
on 2016/02/24 16:16
Change comment: There is no comment for this version
To version 5.1
edited by Thomas Mortagne
on 2016/02/24 16:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,11 +1,11 @@
1 1  {{velocity}}
2 -Admin right of user $xcontext.user:
2 += **Admin** right of user **$xcontext.user**:
3 3  
4 -wiki does not exist: $services.security.authorization.hasAccess('admin', 'wiki:notexisting')
5 -main wiki: $services.security.authorization.hasAccess('admin', 'wiki:xwiki')
4 +* wiki does not exist: **$services.security.authorization.hasAccess('admin', 'wiki:notexisting')**
5 +* main wiki: **$services.security.authorization.hasAccess('admin', 'wiki:xwiki')**
6 6  
7 -Admin right of user superadmin:
7 += **Admin** right of user **superadmin**:
8 8  
9 -wiki does not exist: $services.security.authorization.hasAccess('admin', 'superadmin', 'wiki:notexisting')
10 -main wiki: $services.security.authorization.hasAccess('admin', 'superadmin', 'wiki:xwiki')
9 +* wiki does not exist: **$services.security.authorization.hasAccess('admin', 'superadmin', 'wiki:notexisting')**
10 +* main wiki: **$services.security.authorization.hasAccess('admin', 'superadmin', 'wiki:xwiki')**
11 11  {{/velocity}}