Remove user form org now completely removes the user from the system if the user is orphaned

This commit is contained in:
Torkel Ödegaard
2018-10-11 07:48:35 +02:00
parent 974eddee8f
commit 5b5cb6622d
5 changed files with 73 additions and 39 deletions
+3 -2
View File
@@ -72,8 +72,9 @@ type OrgUser struct {
// COMMANDS
type RemoveOrgUserCommand struct {
UserId int64
OrgId int64
UserId int64
OrgId int64
ShouldDeleteOrphanedUser bool
}
type AddOrgUserCommand struct {