fix(notify): Allow user list receivers

This commit is contained in:
rainzm
2020-09-03 15:08:13 +08:00
parent 9978f19542
commit 2ea4138f3a
+2 -2
View File
@@ -91,8 +91,8 @@ type SReceiver struct {
db.SDomainizedResourceBase
db.SEnabledResourceBase
Email string `width:"64" nullable:"false" create:"optional" update:"user" get:"user" list:"admin"`
Mobile string `width:"16" nullable:"false" create:"optional" update:"user" get:"user" list:"admin"`
Email string `width:"64" nullable:"false" create:"optional" update:"user" get:"user" list:"user"`
Mobile string `width:"16" nullable:"false" create:"optional" update:"user" get:"user" list:"user"`
// swagger:ignore
EnabledEmail tristate.TriState `nullable:"false" default:"false" update:"user"`