Force Edit Control Bar
Permalink
Is there a way to force a page to allow user to edit it and display the edit control bar? I've been trying to set some of the variables of $c and $cp but nothing seems to work thus far. I need more than one user to be able to have permission to edit the file as owner and I don't want to create a separate group for each of these pages. Also, doesn't seem like an user can even edit a page even when they own it without enabling their user group for the page. Why not?
Can anyone give me an example how to use the function assignPermissionSet with a Page? I've added some pages using the add function but I don't see how to set permissions other than passing the uID. And how do I set a custom field when adding a Page? I used setAttribute function on Page object but that didn't work.
Any help would be appreciated. Thanks!
Can anyone give me an example how to use the function assignPermissionSet with a Page? I've added some pages using the add function but I don't see how to set permissions other than passing the uID. And how do I set a custom field when adding a Page? I used setAttribute function on Page object but that didn't work.
Any help would be appreciated. Thanks!