1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

[lib setting] add 'folder perm'

This commit is contained in:
llj
2016-02-07 17:29:49 +08:00
parent a541bd5ed1
commit 9b4e4d0460
10 changed files with 450 additions and 13 deletions

View File

@@ -0,0 +1,23 @@
define([
'underscore',
'backbone',
'common'
], function(_, Backbone, Common) {
'use strict';
var Collection = Backbone.Collection.extend({
initialize: function(options) {
this.repo_id = options.repo_id;
},
url: function() {
return Common.getUrl({
name: 'repo_user_folder_perm',
repo_id: this.repo_id
});
}
});
return Collection;
});