fix build error with tag permissions