Skip to content

Commit

Permalink
[Bugfix]: FWF-3309 Added roles to driver localstorage (AOT-Technologi…
Browse files Browse the repository at this point in the history
  • Loading branch information
auslin-aot authored Jun 21, 2024
1 parent c8c9784 commit c60236b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/forms-flow-documents-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

strategy:
matrix:
python-version: [3.12.3]
python-version: [3.12.4]

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 3 additions & 0 deletions forms-flow-api-utils/src/formsflow_api_utils/utils/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ def interceptor(request):
"role": token_info.get("roles", None) or token_info.get(
"role", None
),
"roles": token_info.get("roles", None) or token_info.get(
"role", None
),
"name": token_info.get("name", None),
"groups": token_info.get("groups", None),
"preferred_username": token_info.get("preferred_username", None),
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-documents/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/auslin-aot/forms-flow-ai.git@feature/FWF-3257-export-pdf-bundle#subdirectory=forms-flow-api-utils
formsflow_api_utils @ git+https://github.com/auslin-aot/forms-flow-ai.git@bugfix/FWF-3309-Add-roles-to-localstorage#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-documents/requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ PyJWT
selenium
selenium-wire
nested-lookup
git+https://github.com/auslin-aot/forms-flow-ai.git@feature/FWF-3257-export-pdf-bundle#egg=formsflow_api_utils&subdirectory=forms-flow-api-utils
git+https://github.com/auslin-aot/forms-flow-ai.git@bugfix/FWF-3309-Add-roles-to-localstorage#egg=formsflow_api_utils&subdirectory=forms-flow-api-utils

0 comments on commit c60236b

Please sign in to comment.