diff --git a/areas/users/users.py b/areas/users/users.py index a41345583ebdb10474b5d150e77f4023705b8b3f..4536586d4a636d11ace3c589df4a70df134dac59 100644 --- a/areas/users/users.py +++ b/areas/users/users.py @@ -32,6 +32,7 @@ def get_user(id): @jwt_required() @cross_origin() @expects_json(schema) +@admin_required() def post_user(): data = request.get_json() res = UserService.post_user(data)