Hi,
I'm trying to find a way to create/delete/update my own entitlement
names not those found in content.xml.
of course the addition of my own entitlements fails (because, I'm
guessing, consistency checking with those entitlements
pre-defined in the content.xml, looking at the source code).
Is there a way to create/delete/update those available in content.xmlby
the syncope REST api?
e.g.
[nik@anvil openidm-project]$ curl -u admin:password -X POST
http://10.0.0.123:9080/syncope/cxf/roles --data
"<role><name>Collaborator</name><entitlements><entitlement>generate</entitlement><entitlement>update</entitlement><entitlement>publish</entitlement><entitlement>migrate</entitlement><entitlement>scan</entitlement></entitlements><resources><resource>uforge_ldap</resource></resources></role>"
-H "Content-type: application/xml" -D /tmp/headers
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<role>
<attributes/>
<derivedAttributes/>
<id>217</id>
<propagationStatuses>
<propagationStatus>
<afterObj>
<attributes>
<attribute>
<readonly>false</readonly>
<schema>__UID__</schema>
<value>Collaborator</value>
</attribute>
<attribute>
<readonly>false</readonly>
<schema>__NAME__</schema>
<value>cn=Collaborator,ou=groups,o=usharesoft</value>
</attribute>
<attribute>
<readonly>false</readonly>
<schema>owner</schema>
</attribute>
<attribute>
<readonly>false</readonly>
<schema>__ENABLE__</schema>
</attribute>
</attributes>
</afterObj>
<resource>uforge_ldap</resource>
<status>SUCCESS</status>
</propagationStatus>
</propagationStatuses>
<resources>
<resource>uforge_ldap</resource>
</resources>
<virtualAttributes/>
<entitlements/>
<inheritAccountPolicy>false</inheritAccountPolicy>
<inheritAttributes>false</inheritAttributes>
<inheritDerivedAttributes>false</inheritDerivedAttributes>
<inheritOwner>false</inheritOwner>
<inheritPasswordPolicy>false</inheritPasswordPolicy>
<inheritVirtualAttributes>false</inheritVirtualAttributes>
<name>Collaborator</name>
<parent>0</parent>
</role>
[nik@anvil openidm-project]$
rgds,
Nik