From 0fb3d1037ceb63b37b5343e013df4df04d3daf52 Mon Sep 17 00:00:00 2001 From: llj Date: Wed, 27 May 2015 17:58:21 +0800 Subject: [PATCH] [share] bugfix for newly created library --- static/scripts/app/views/repo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/scripts/app/views/repo.js b/static/scripts/app/views/repo.js index 2c5a80f4e1..434ab32031 100644 --- a/static/scripts/app/views/repo.js +++ b/static/scripts/app/views/repo.js @@ -90,7 +90,7 @@ define([ var options = { 'is_repo_owner': true, 'is_virtual': this.model.get('virtual'), - 'user_perm': this.model.get('permission'), + 'user_perm': 'rw', 'repo_id': this.model.get('id'), 'repo_encrypted': this.model.get('encrypted'), 'is_dir': true,