Implement EZP-21501: Support custom object state group limitations in PAPI