Add access control for galleries