Crocoblock / suggestions

The suggestions for CrocoBlock project
197 stars 79 forks source link

Feature suggestion - simplification of REST API for CPTs #7856

Open Xyala opened 1 week ago

Xyala commented 1 week ago

CPTs today require potentially 2x toggles to be turned ON

Maybe I'm not aware of the reason that would be, but I would suggest out of simplicity and to reduce support for this to have it only once, or auto-on on meta fields with the opposite behavior, a toggle to turn meta fields over API OFF.

Another related suggestion would be to have role permission on the REST endpoints. So it's uniform with other parts of jetengine (like query) which allow to restrict endpoint access to selected user roles. Right now we have to use plugins like AAM to limit access to CPT /CCT endpoints when it could be built-into jetengine.