Hello everybody.
When I try to read the permission of a document:
$xwiki.hasAccessLevel("view", "XWiki.Customers",
"${doc.getFullName()}")
Or
$doc.hasAccessLevel("view", "XWiki.Customers")
The result don't match with the permission assigned to the document.
This is an issue?
Or exists other way to make this.
Thanks.
Mariano Esteves
División Abengoa – Proyectos
.
TELVENT
Global Services
Uruguay,1283
11200 Montevideo (Uruguay) Phone : +598 2 9022120
www.telvent.com Email: mesteves(a)telvent.com
. P Proteja el medioambiente. No imprima este documento si no es
necesario.
Protect the environment. Don’t print this document unless it’s necessary.