https://pulp.plan.io/https://pulp.plan.io/favicon.ico2015-11-06T13:48:05ZPulpPulp - Issue #1360: Permissions retrieval from API doesn't work as expectedhttps://pulp.plan.io/issues/1360?journal_id=68482015-11-06T13:48:05Zipanova@redhat.comipanova@redhat.com
<ul></ul><p>If permissions were granted to "/" i don't think it will be good to display all resources as they are too many:</p>
<pre><code>grep "url(r'^v2" server/pulp/server/webservices/urls.py|wc -l
99
</code></pre>
<p>I think we have here other issue, imagine the situation were you grant permissions for a user on '/' but you don't want that he would have access to( for example) /v2/repositories/. so you revoke permissions explicitly on this resource but the user will still be able to access that.</p>
<p>So probably we could disable the possibility to give permission on '/' for users other than super-users. This will require people to explicitly give permissions for <strong>every</strong> resource, so permission retrieval from API will work as expected. But if there will be too many to grant , this will complicate someone's life :)</p> Pulp - Issue #1360: Permissions retrieval from API doesn't work as expectedhttps://pulp.plan.io/issues/1360?journal_id=68592015-11-06T15:44:54Zmhrivnakmhrivnak@redhat.com
<ul><li><strong>Triaged</strong> changed from <i>No</i> to <i>Yes</i></li></ul> Pulp - Issue #1360: Permissions retrieval from API doesn't work as expectedhttps://pulp.plan.io/issues/1360?journal_id=367262019-04-12T19:23:16Zbmbouterbmbouter@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>CLOSED - WONTFIX</i></li></ul> Pulp - Issue #1360: Permissions retrieval from API doesn't work as expectedhttps://pulp.plan.io/issues/1360?journal_id=368512019-04-12T19:30:44Zbmbouterbmbouter@redhat.com
<ul></ul><p>Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the <a href="https://www.redhat.com/mailman/listinfo/pulp-dev" class="external">developer mailing list</a>.</p> Pulp - Issue #1360: Permissions retrieval from API doesn't work as expectedhttps://pulp.plan.io/issues/1360?journal_id=394692019-04-15T20:41:34Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>