mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
accept shared folder set account to ACTIVE
This commit is contained in:
parent
93ed361705
commit
92eca1a1ce
7 changed files with 641 additions and 621 deletions
|
@ -795,6 +795,7 @@ func InviteToFolder(w http.ResponseWriter, r *http.Request) {
|
|||
a.OrgID = p.Context.OrgID
|
||||
a.Admin = false
|
||||
a.Editor = false
|
||||
a.Active = true
|
||||
accountID := util.UniqueID()
|
||||
a.RefID = accountID
|
||||
|
||||
|
@ -897,6 +898,7 @@ func inviteNewUserToSharedFolder(p request.Persister, email string, invitedBy en
|
|||
a.OrgID = p.Context.OrgID
|
||||
a.Admin = false
|
||||
a.Editor = false
|
||||
a.Active = true
|
||||
accountID := util.UniqueID()
|
||||
a.RefID = accountID
|
||||
|
||||
|
|
|
@ -529,7 +529,6 @@ const (
|
|||
EventTypeDocumentDelete EventType = "removed-document"
|
||||
EventTypeDocumentRevisions EventType = "viewed-document-revisions"
|
||||
EventTypeSpaceAdd EventType = "added-space"
|
||||
EventTypeSpaceView EventType = "viewed-space"
|
||||
EventTypeSpaceUpdate EventType = "updated-space"
|
||||
EventTypeSpaceDelete EventType = "removed-space"
|
||||
EventTypeSpacePermission EventType = "changed-space-permissions"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue