Project

General

Profile

Actions

Bug #5192

closed

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

Added by Peter Amstutz over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
API
Target version:
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

Related to Arvados - Feature #4253: [API] Users can create their own arvados-hosted git repositoriesResolvedBrett Smith10/17/2014Actions
Related to Arvados - Bug #5190: [Workbench] Tell admins not to put hyphens in repository namesResolvedRadhika Chippada03/08/2015Actions
Actions

Also available in: Atom PDF