Changes for page Right

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

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

Summary

Details

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