https://dev.arvados.org/https://dev.arvados.org/favicon.ico?15576888422015-02-11T17:56:31ZArvadosArvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=210742015-02-11T17:56:31ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Subject</strong> changed from <i>[API] Renaming repository results in gitolite creating a new repository</i> to <i>[API] Renaming repository results in a new repository</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/21074/diff?detail_id=20175">diff</a>)</li></ul> Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=210882015-02-11T21:02:34ZPeter Amstutzpeter.amstutz@curii.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/21088/diff?detail_id=20190">diff</a>)</li></ul> Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=213712015-02-18T18:42:19ZTom Cleggtom@curii.com
<ul><li><strong>Target version</strong> changed from <i>Bug Triage</i> to <i>2015-03-11 sprint</i></li></ul> Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=213772015-02-18T18:48:33ZWard Vandewegeward@curii.com
<ul><li><strong>Story points</strong> set to <i>0.5</i></li></ul> Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=213782015-02-18T18:49:17ZTom Cleggtom@curii.com
<ul><li><strong>Subject</strong> changed from <i>[API] Renaming repository results in a new repository</i> to <i>[API] Disallow changing the name of a repository record</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/21378/diff?detail_id=20490">diff</a>)</li><li><strong>Category</strong> set to <i>API</i></li><li><strong>Story points</strong> deleted (<del><i>0.5</i></del>)</li></ul> Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=213792015-02-18T18:49:30ZTom Cleggtom@curii.com
<ul><li><strong>Story points</strong> set to <i>0.5</i></li></ul> Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=214092015-02-18T20:23:30ZRadhika Chippadaradhika@curoverse.com
<ul><li><strong>Assigned To</strong> set to <i>Radhika Chippada</i></li></ul> Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=215162015-02-23T15:04:11ZRadhika Chippadaradhika@curoverse.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)https://dev.arvados.org/issues/5192?journal_id=215172015-02-23T15:10:30ZRadhika Chippadaradhika@curoverse.com
<ul><li><strong>Subject</strong> changed from <i>[API] Disallow changing the name of a repository record</i> to <i>[API] Disallow changing the name of a repository record (by non-admin users)</i></li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul><p>Both API and Workbench already disallow a non-admin user from changing a repository name.</p>
<ul>
<li>API: repository.rb -> permission_to_update method allows only admin user to update a repository. A unit test "active user cannot change repo name via can_manage permission" exists in api/test/unit/permission_test.rb</li>
</ul>
<ul>
<li>Workbench: Workbench hides the "Attributes" tab from non-admin users. In addition, repository.rb -> editable_attributes returns an empty array for non-admin users and allows only admin users to update the object.</li>
</ul>