Unable to set filters for group through ReST API
Issue
When belongsto
was used to set group filter while group creation using ReST API
curl -s --user admin:smartvm \
-X POST \
-H "Accept: application/json" \
-d '{"action" : "create",
"resource": {"description" : "api10",
"tenant" : { "id": "16"} ,
"role": { "name": "ps_self_service" },
"filters": {"belongsto":["/managed/tenant/wg0000"], "managed":[[]]}}}'
https://mycfme.com/api/groups/
resulted in inaccessible group through web interface.
Doc referred: http://manageiq.org/docs/reference/fine/api/appendices/resource_attributes
Environment
Red Hat Cloudforms 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.