-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hi,
we are running into an error when trying to deploy our xs-security.json with the mentioned role-template-references from the documentation with the following message:
Updating service "myapp-auth" failed: Error updating application null (Error parsing xs-security.json data: Unrecognized field "role-template-references" (class com.sap.xs2.security.authorization.XSRoleTemplate), not marked as ignorable (9 known properties: "scope-references", "attributeReferences", "default-role-name", "attribute-references", "attributeReferencesFromNames", "name", "appId", "description", "scopeReferences"]) at [Source: REDACTED (StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION disabled); line: 1, column: 276] (through reference chain: com.sap.xs2.security.authorization.XSApp["role-templates"]->java.util.ArrayList[0]->com.sap.xs2.security.authorization.XSRoleTemplate["role-template-references"]))
It worked a few weeks ago when we deployed to production but apparently something has changed in xsuaa service which invalidated role-template-references as an attribute which is why we can't deploy our xsuaa with the documented configuration anymore. When deploying without the configuration, we are getting a 403 when trying to upload the content of the file.
Please advise on how to solve this