1
0
Fork 0
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:
Harvey Kandola 2017-05-04 13:56:31 +01:00
parent 93ed361705
commit 92eca1a1ce
7 changed files with 641 additions and 621 deletions

View file

@ -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

View file

@ -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"