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:
@@ -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
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user