Added updateUserPermissions method into AclManager.