On Sat, Feb 4, 2012 at 1:22 PM, O Voss <richyfourtythree(a)yahoo.com> wrote:
Hi,
In documents based on a certain class I need to list the attachments of the document. I
used the 'List attachments of a page'-snippet from
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples in the class sheet.
This works perfectly fine as long as the document is saved by a user with programming
rights. When saved by a normal user it doesn't work, as the priviledged API is used.
Is there some workaround or solution for this?
Are you using the new sheet system? See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet+Module#HSheetsan…
.
Hope this helps,
Marius
Thanks
Olaf
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users