Wiki source code of Right
Last modified by Thomas Mortagne on 2016/02/24 16:18
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | {{velocity}} | |
5.1 | 2 | = **Admin** right of user **$xcontext.user**: | |
3.1 | 3 | ||
5.1 | 4 | * wiki does not exist: **$services.security.authorization.hasAccess('admin', 'wiki:notexisting')** | |
5 | * main wiki: **$services.security.authorization.hasAccess('admin', 'wiki:xwiki')** | ||
3.1 | 6 | ||
5.1 | 7 | = **Admin** right of user **superadmin**: | |
3.1 | 8 | ||
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')** | ||
1.1 | 11 | {{/velocity}} |