Add missing security test for delete org
This commit is contained in:
parent
47e4b1b500
commit
5ed13da2e6
2 changed files with 14 additions and 1 deletions
|
@ -212,8 +212,9 @@ class Organization(ApiResource):
|
|||
raise NotFound()
|
||||
|
||||
model.user.delete_user(org, all_queues)
|
||||
return 'Deleted', 204
|
||||
|
||||
return 'Deleted', 204
|
||||
raise Unauthorized()
|
||||
|
||||
|
||||
@resource('/v1/organization/<orgname>/private')
|
||||
|
|
Reference in a new issue