Hi Glenn, On Thu, May 28, 2009 at 10:04 PM, <[email protected]> wrote:
Hi,
I'm wondering how xwiki applies permissions to various actions. For example, in looking at the ViewAction and DeleteAction classes I don't see anything that would be applying permissions but clearly some part of the system knows that a /view/ action is different than a /delete/ which is different from a /viewrev/.
I created my own action and it 'appears' to be applying the edit permissions. How is this done? What if it was a view type of action?
Not sure whether this is gonna help you, but the java code that handles rights is located in here: http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/j... Maybe it has some of the answers you're looking for. Guillaume
Thanks,
Glenn
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Guillaume Lerouge Product Manager - XWiki Skype ID : wikibc http://guillaumelerouge.com/