AEM 6.5 - Adding JCR access policy NOT CUG
I got stuck on CUG and this is NOT what I am looking for.
We require to add jcr:write access for a single user to a new node that we create also through code. All I can find is code examples prior 6.3 change to CUG, but these are no longer working
How can we still use AccessControlList.addEntry(principal, privileges, true) in AEM 6.5 or is this no longer allowed and should we user CUG?
(I understand this only is used to grant Read access to nodes)