cockpit icon indicating copy to clipboard operation
cockpit copied to clipboard

Collection Fields with limited access still show field name in API

Open pixelkarma opened this issue 4 years ago • 0 comments

/api/collections/get/Pages

If 'title' has permissions, the data does not show (as expected), but the field name still shows. This could cause confusion for developers or code that uses the fields list to access the data.

Screen Shot 2021-01-04 at 5 38 58 PM

{ "fields": { "title": { "name": "title", "type": "text", "localize": false, "options": { "slug": true } } } }

pixelkarma avatar Jan 05 '21 01:01 pixelkarma