Project

General

Profile

Actions

Bug #5192

closed

[API] Disallow changing the name of a repository record (by non-admin users)

Added by Peter Amstutz almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

Currently, a regular user can rename a repository, but the new name will resolve to a new empty repository: the content of the existing repository does not move with the name (but you can go back to the old content by renaming the repository record again).

Short term fix is to disallow changing the name attribute of a repository unless current_user.andand.is_admin.

Longer term fix is #4253.


Related issues 2 (0 open2 closed)

Related to Arvados - Feature #4253: [API] Users can create their own arvados-hosted git repositoriesResolvedBrett Smith10/17/2014

Actions
Related to Arvados - Bug #5190: [Workbench] Tell admins not to put hyphens in repository namesResolvedRadhika Chippada03/08/2015

Actions
Actions

Also available in: Atom PDF