LPS-39688 The staging check must be performed before the actual group is set to the live group for further permission checking.