Wiki source code of Right

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

Hide last authors
Thomas Mortagne 1.1 1 {{velocity}}
Thomas Mortagne 5.1 2 = **Admin** right of user **$xcontext.user**:
Thomas Mortagne 3.1 3
Thomas Mortagne 5.1 4 * wiki does not exist: **$services.security.authorization.hasAccess('admin', 'wiki:notexisting')**
5 * main wiki: **$services.security.authorization.hasAccess('admin', 'wiki:xwiki')**
Thomas Mortagne 3.1 6
Thomas Mortagne 5.1 7 = **Admin** right of user **superadmin**:
Thomas Mortagne 3.1 8
Thomas Mortagne 5.1 9 * wiki does not exist: **$services.security.authorization.hasAccess('admin', 'superadmin', 'wiki:notexisting')**
10 * main wiki: **$services.security.authorization.hasAccess('admin', 'superadmin', 'wiki:xwiki')**
Thomas Mortagne 1.1 11 {{/velocity}}