[DEV-1471] Add check for staff user to feature flag middleware.