-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 7.0.0
-
Fix Version/s: 7.0.0
-
Component/s: Module - Relationships
-
Labels:
-
Target Version/s:
-
Support Ticket IDs:
Issue occurs with the openidm-7.0.0-2019-09-11-18-23-a2f6d68
Null fields of Internal Roles (authzRoles array) are not return anymore. Request like this:
curl -X GET \ 'http://idm.example.com:8080/openidm/internal/role/openidm-authorized/authzMembers?_queryFilter=_refResourceId%20eq%20%22bjensen%22&_fields=authzRoles/%2A' \ -H 'X-OpenIDM-Password: openidm-admin' \ -H 'X-OpenIDM-Username: openidm-admin'
currently return authzRoles field like this:
"authzRoles": [ { "_ref": "internal/role/openidm-authorized", "_refResourceCollection": "internal/role", "_refResourceId": "openidm-authorized", "_refProperties": { "_id": "5f268356-9868-41dc-8b0b-1e321d7ecb8a", "_rev": "0" }, "_id": "openidm-authorized", "_rev": "0", "name": "openidm-authorized", "description": "Basic minimum user" } ]
Prior to the mentioned SNAPSHOT build the authzRoles looks like this:
"authzRoles": [ { "_ref": "internal/role/openidm-authorized", "_refResourceCollection": "internal/role", "_refResourceId": "openidm-authorized", "_refProperties": { "_id": "cf4075e1-b494-42ac-a51c-277cd98445ea", "_rev": "0" }, "_id": "openidm-authorized", "_rev": "0", "name": "openidm-authorized", "description": "Basic minimum user", "temporalConstraints": null, "privileges": null } ]
As you can see there used to be 'temporalConstaints' and 'privileges' with null values
- relates to
-
OPENIDM-13765 Backport OPENIDM-13721: NULL not set correctly when adding users. It is set to string of 'null'
-
- Closed
-