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

[folder perm] modification for group owned repo

This commit is contained in:
llj
2018-08-13 16:28:05 +08:00
parent 76183310e0
commit cfb9c9b319
5 changed files with 56 additions and 32 deletions

View File

@@ -9,11 +9,14 @@ define([
initialize: function(options) {
this.repo_id = options.repo_id;
this.is_group_owned_repo = options.is_group_owned_repo;
},
url: function() {
return Common.getUrl({
name: 'repo_user_folder_perm',
name: this.is_group_owned_repo ?
'group-owned-library-user-folder-permission' :
'repo_user_folder_perm',
repo_id: this.repo_id
});
}