London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
And almost directly after I had published this post I realized what I had forgot and got it to work! So now I can update the group access rights...
What was the step you forgot? Maybe others have the same problem as you did.
Yes, you are right. I simply missed calling Save() on the page ACL after I had modified it.
Hi,
I'm looking for a way to set the access rights for a page programmatically. More specific, I want to set which groups can access the page from my code. So e.g. when an editor creates a new page she should be able to choose from available groups in a drop down list (page property) and apply that to the page she is creating/updating. Is there someone who can give me a hint on how to accomplish this? I've been testing out a few things so far but I haven't yet fully succeeded.
Cheers,