Hello, I would like to expose just ID and Label of roles in API, its not possible at the moment, JSONAPI still exposes status, dependencies, _core, is_admin and mainly permission list which i really dont want to expose. I have disabled all properties/fields in role endpoint configuration.

1
2

Comments

mkolar created an issue. See original summary.

e0ipso’s picture

Thanks for the report. If you enable only one field, what's the result?

mkolar’s picture

Hello no matter what I enable or disable those properties are always present.

e0ipso’s picture

Status: Active » Fixed
mkolar’s picture

Thanks, it works now, it can be disabled in override!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.