{
Acl acl = page.getAcl();
boolean pageChanged = false;
if ( acl != null )
{
Enumeration entries = acl.entries();
Collection<AclEntry> entriesToAdd = new ArrayList<AclEntry>();
Collection<AclEntry> entriesToRemove = new ArrayList<AclEntry>();
while ( entries.hasMoreElements() )
{
AclEntry entry = (AclEntry)entries.nextElement();