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:
17
static/scripts/app/models/pub-repo.js
Normal file
17
static/scripts/app/models/pub-repo.js
Normal 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;
|
||||
});
|
Reference in New Issue
Block a user