You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: models/user/user.go
+12-6
Original file line number
Diff line number
Diff line change
@@ -46,19 +46,19 @@ const (
46
46
UserTypeIndividualUserType=iota// Historic reason to make it starts at 0.
47
47
48
48
// UserTypeOrganization defines an organization
49
-
UserTypeOrganization
49
+
UserTypeOrganization// 1
50
50
51
51
// UserTypeUserReserved reserves a (non-existing) user, i.e. to prevent a spam user from re-registering after being deleted, or to reserve the name until the user is actually created later on
52
-
UserTypeUserReserved
52
+
UserTypeUserReserved// 2
53
53
54
54
// UserTypeOrganizationReserved reserves a (non-existing) organization, to be used in combination with UserTypeUserReserved
55
-
UserTypeOrganizationReserved
55
+
UserTypeOrganizationReserved// 3
56
56
57
57
// UserTypeBot defines a bot user
58
-
UserTypeBot
58
+
UserTypeBot// 4
59
59
60
60
// UserTypeRemoteUser defines a remote user for federated users
0 commit comments