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.


| Comment | File | Size | Author |
|---|---|---|---|
| Screen Shot 2017-12-01 at 12.59.13.png | 151.3 KB | mkolar | |
| Screen Shot 2017-12-01 at 12.59.36.png | 129.82 KB | mkolar |
Comments
Comment #2
e0ipsoThanks for the report. If you enable only one field, what's the result?
Comment #3
mkolar commentedHello no matter what I enable or disable those properties are always present.
Comment #4
wim leersFor
_core, we have #2915539: Omit "_core" key from normalized config entities, which includes the default config hash.Comment #5
e0ipsoThis was solved as part of #2932982: Correct the overrides form for configuration entities.
Comment #6
mkolar commentedThanks, it works now, it can be disabled in override!