Set page permissions via macro

Hello,

is it possible to set page permissions via macro (Velocity)? If yes, how, is there any manual for it?

I have macro which creates set of new pages and it would be great, if it would be possible to set via the macro the access rights.

Hello,
Sure check this out: https://www.xwiki.org/xwiki/bin/view/FAQ/How%20to%20modify%20page%20rights%20with%20scripting but wait I fix the link :wink:

Pascal B

Hum, got it!
http://snippets.xwiki.org/xwiki/bin/view/Extension/Setting%20Rights

Thank you.

np :slight_smile:

Don’t forget to set “resolved” …