Opticon Stockholm is on Tuesday September 10th, hope to see you there!
AI OnAI Off
Opticon Stockholm is on Tuesday September 10th, hope to see you there!
You can update acl:s through EPiServer.DataAbstraction.IContentSecurityRepository.Save, the instance of IContentSecurityRepository can be retreived from IOC container
Hi!
I have a problem with saving a ContentAccessControlList.
When i create a specific pagetype i want to programatically create a set of containers and subpages and set their access rights.
Creating a page and its subpages/containers works fine but when i try to set the access rights for each subpage i get this error when i try to save.
System.NotSupportedException: 'Specified method is not supported.'
The Code:
I have also tried using pageAccessControlList.Save(SecuritySaveType.Replace);.
Happy if anyone can point me in the right direction :)
[Pasting files is not allowed]