page permissions with group combinations programmatically
Permalink
My problem is how do i add permissions to a page using a group combination programmatically.
so only users who are a part of two groups can access the page, not one or the other.
page::assignPermissionSet($permissionsArray)
can this method be used to achieve this? if so how do you setup the array to do this?
or is there another method that is needed to do this?
Many thanks
so only users who are a part of two groups can access the page, not one or the other.
page::assignPermissionSet($permissionsArray)
can this method be used to achieve this? if so how do you setup the array to do this?
or is there another method that is needed to do this?
Many thanks