Skip to content

Commit

Permalink
Merge pull request #2162 from abilpraju-aot/bugfix/draft-submission
Browse files Browse the repository at this point in the history
updated auth method for submission
  • Loading branch information
auslin-aot authored Jul 24, 2024
2 parents 911cbe3 + de05d86 commit fd6f690
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion forms-flow-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ecdsa==0.18.0
flask-jwt-oidc==0.3.0
flask-marshmallow==1.2.1
flask-restx==1.3.0
formsflow_api_utils @ git+https://github.com/abilpraju-aot/forms-flow-ai.git@bugfix/FWF-3501-admin-role-added#subdirectory=forms-flow-api-utils
formsflow_api_utils @ git+https://github.com/AOT-Technologies/forms-flow-ai.git@feature/FWF-3316-permission-matrix#subdirectory=forms-flow-api-utils
gunicorn==21.2.0
h11==0.14.0
h2==4.1.0
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-api/requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ sqlalchemy_utils
markupsafe
PyJWT
redis
git+https://github.com/abilpraju-aot/forms-flow-ai.git@bugfix/FWF-3501-admin-role-added#egg=formsflow_api_utils&subdirectory=forms-flow-api-utils
git+https://github.com/AOT-Technologies/forms-flow-ai.git@feature/FWF-3316-permission-matrix#subdirectory=forms-flow-api-utils
2 changes: 1 addition & 1 deletion forms-flow-api/src/formsflow_api/resources/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def get(application_id: int):
return application, status

@staticmethod
@auth.has_one_of_roles([VIEW_SUBMISSIONS])
@auth.require
@profiletime
@API.doc(body=application_update_model)
@API.response(200, "OK:- Successful request.")
Expand Down

0 comments on commit fd6f690

Please sign in to comment.