#2820 [HOTFIX] FAS fix for disabling invite_only for a group
Closed: Fixed None Opened 12 years ago by toshio.

= phenomenon =
FAS tracebacks when disabling invite_only for a group

= reason =
Need to use a validator to decode True/False being sent to the method before it is added to the database.

= recommendation =

diff --git a/fas/group.py b/fas/group.py
index 6aa9bc7..ff9e6ec 100644
--- a/fas/group.py
+++ b/fas/group.py
@@ -85,6 +85,7 @@ class GroupSave(validators.Schema):
owner = KnownUser
prerequisite = KnownGroup
group_type = ValidGroupType
+ invite_only = validators.Bool()

class GroupApply(validators.Schema):
groupname = KnownGroup

Applied in the hotfix module to all fas* servers.


Updated to 0.8.8.91 which includes this.

Login to comment on this ticket.

Metadata