Description of problem: There is an incorrect link to group permissions, roles and tags at /groups url. Version-Release number of selected component (if applicable): sf17.1 How reproducible: always Steps to Reproduce: 1. Add group from some domain to system. 2. Check /groups url. Actual results: There is broken link to group's permissions, roles and tags. (/api/domains/{id}/groups/{id}/permissions,roles,tags) => HTTP 404 Expected results: Correct link to group's permissions, roles and tags. (/api/groups/{id}/permissions,roles,tags) without domain. Additional info:
*** This bug has been marked as a duplicate of bug 920483 ***
Ondra, it sounds exactly as bug 920483, please recheck against it, thanks.
(In reply to Michael Pasternak from comment #2) > it sounds exactly as bug 920483, please recheck against it, thanks. It is different than bug 920483. When you add a group to system and than you want to for example check its permissions, there is incorrect link for group's permissions(also for tags and roles) GET /api/groups <groups><group href="/api/groups/eee00000-0000-0000-0000-123456789eee" id="eee00000-0000-0000-0000-123456789eee"></group><group href="/api/domains/72686576-2e6c-6162-2e65-6e672e627271/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4" id="db5da949-a67e-4b25-bd5c-f31bbcacfde4"><name>rhev.lab.eng.brq.redhat.com/Builtin/Users</name><link href="/api/domains/72686576-2e6c-6162-2e65-6e672e627271/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4/permissions" rel="permissions"/><link href="/api/domains/72686576-2e6c-6162-2e65-6e672e627271/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4/roles" rel="roles"/><link href="/api/domains/72686576-2e6c-6162-2e65-6e672e627271/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4/tags" rel="tags"/><domain href="/api/domains/72686576-2e6c-6162-2e65-6e672e627271" id="72686576-2e6c-6162-2e65-6e672e627271"/></group></groups> GET /api/domains/72686576-2e6c-6162-2e65-6e672e627271/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4/permissions HTTP 404 When I remove /domain/{domain:id} from url then the result is OK GET /api/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4/permissions <permissions><permission href="/api/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4/permissions/00000001-0001-0001-0001-000000000001" id="00000001-0001-0001-0001-000000000001"></permission></permissions> So when you access to /groups url API should return: <groups><group ..> <link href="/api/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4/permissions" rel="permissions"/> </group></groups> intead of: <groups><group ..> <link href="/api/domains/72686576-2e6c-6162-2e65-6e672e627271/groups/db5da949-a67e-4b25-bd5c-f31bbcacfde4/permissions" rel="permissions"/> </group></groups>
Thanks Ondra, we will address this.
http://gerrit.ovirt.org/15515