For action permissions you'd do the same thing and roles per action permission.
[code]
entry.getValue().getPermissions().getAdd().getRoles().add("superuser");
[/code]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=fc7bd63c-5ddb-4b6f-bfcc-048720e365ce
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------