1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

Create repo in organization

This commit is contained in:
zhengxie
2015-04-03 17:01:13 +08:00
committed by Daniel Pan
parent d612ec360c
commit 49f26cb251
8 changed files with 160 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
define([
'underscore',
'backbone',
'app/models/repo'
], function(_, Backbone, Repo) {
'use strict';
var PubRepo = Repo.extend({
defaults: {
permission: "r",
}
});
_.extend(PubRepo.prototype.defaults, Repo.prototype.defaults);
return PubRepo;
});