Dealing with Advanced Page Permissions Programatically

Permalink
I'm guilty of posting about this a while ago, but I've searched through the documentation all over the place and found nothing.

I'm trying to make it so that when a user creates a new page (thats the easy part), that specific user is given specific permission on that page WITHOUT LOSING THE PERMISSIONS THAT PAGE INHERITS FROM ITS PARENT.

Of all the awesome new documentation on permissions and such, I still cant find anything to answer this question.

If anyone has any ideas itd be greatly appreciated!

focus43
 
andrew replied on at Permalink Best Answer Reply
andrew
Tony's reply here might be useful:

http://www.concrete5.org/community/forums/chat/social-network-with-...

Basically, if you use that function, it should automatically grab the current inherited permissions for the page, and then apply whatever new permissions you set using the Page::assignPermissionSet() function.
focus43 replied on at Permalink Reply
focus43
You're the man. Exactly what I was looking for. Thanks.
focus43 replied on at Permalink Reply
focus43
Actually, on the same note - is there a way to get a list of users that have permissions to a certain page?
CapaSite replied on at Permalink Reply
CapaSite