mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 01:12:03 +00:00
Share to user support select department (#7327)
* select department user when share repo to user * update * update * 01 fix code warnings * 02 change dialog style * 03 manage group members support select department user --------- Co-authored-by: Michael An <2331806369@qq.com>
This commit is contained in:
@@ -94,6 +94,16 @@ class SeafileAPI {
|
||||
return this.req.get(url);
|
||||
}
|
||||
|
||||
listAddressBookDepartments() {
|
||||
const url = this.server + '/api/v2.1/address-book/departments/';
|
||||
return this.req.get(url);
|
||||
}
|
||||
|
||||
listAddressBookDepartmentMembers(department_id) {
|
||||
const url = this.server + '/api/v2.1/address-book/departments/' + department_id + '/members/';
|
||||
return this.req.get(url);
|
||||
}
|
||||
|
||||
listGroups(withRepos = false) {
|
||||
let options = { with_repos: withRepos ? 1 : 0 };
|
||||
const url = this.server + '/api/v2.1/groups/';
|
||||
|
Reference in New Issue
Block a user