1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 07:44:50 +00:00

Update transfer repo add audit log (#7480)

* add admin log

* update

* update

* update

* add org transfer log

* optimize

* Update file-transfer-log.js

* add db_index

* add-operator

* update

* file --> repo

* Update mysql.sql

* update

* update

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
awu0403
2025-02-21 18:12:25 +08:00
committed by GitHub
parent 83d615d3ed
commit d91cdad79e
23 changed files with 825 additions and 11 deletions

View File

@@ -215,7 +215,7 @@ class RepoItem extends React.Component {
onTransferRepo = (email, reshare) => {
let repo = this.props.repo;
orgAdminAPI.orgAdminTransferOrgRepo(orgID, repo.repoID, email, reshare).then(res => {
const { owner_name, owner_email } = res;
const { owner_name, owner_email } = res.data;
this.props.transferRepoItem(repo.repoID, owner_name, owner_email);
let msg = gettext('Successfully transferred the library.');
toaster.success(msg);