Skip to content

Commit

Permalink
Merge branch 'staging' into prod
Browse files Browse the repository at this point in the history
  • Loading branch information
NotChristianGarcia committed Oct 16, 2023
2 parents 4df11f3 + c0f2470 commit d4a6be5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions pgrest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ def create_roles(tenants=[]):
roleTenant=tn,
description='Role granting read access to all tables in the PgREST API.',
_tapis_set_x_headers_from_service=True)
t.sk.createRole(roleName='PGREST_USER',
roleTenant=tn,
description='Role granting read access to all /view/ endpoints in the PgREST API.',
_tapis_set_x_headers_from_service=True)
t.sk.createRole(roleName='PGREST_WRITE',
roleTenant=tn,
description='Role granting write access to all tables in the PgREST API.',
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ psycopg2==2.8.6
cerberus
postgres
docker
tapipy==1.2.20
tapisservice==1.2.6
tapipy==1.4.1
tapisservice==1.4.0
uWSGI
ipython
jedi==0.17.2 # was required to get past issues with ipython in the manage.py shell; see:

0 comments on commit d4a6be5

Please sign in to comment.