Merge "Fix the slightly incomplete logic for changing private story permissions"
This commit is contained in:
commit
ea1920488c
@ -305,9 +305,9 @@ class StoriesController(rest.RestController):
|
||||
valid = True
|
||||
if users == [] and teams == []:
|
||||
valid = False
|
||||
elif users == [] and original_teams == []:
|
||||
elif users == [] and (original_teams == [] and not teams):
|
||||
valid = False
|
||||
elif teams == [] and original_users == []:
|
||||
elif teams == [] and (original_users == [] and not users):
|
||||
valid = False
|
||||
if not valid and original_story.private:
|
||||
abort(400,
|
||||
|
Loading…
x
Reference in New Issue
Block a user