Skip to content

Commit

Permalink
Merge branch 'guest-contributor-fixes' of https://github.com/fairdata…
Browse files Browse the repository at this point in the history
…ihub/SODA-for-SPARC into guest-contributor-fixes
  • Loading branch information
aaronm-2112 committed Dec 9, 2024
2 parents 8c1da1a + 7b13c9c commit d1854d8
Show file tree
Hide file tree
Showing 5 changed files with 208 additions and 140 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Build-and-deploy-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
- staging
- pre-staging
- folder-build
- guest-contributor-fixes

jobs:
deploy-on-linux:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Build-and-deploy-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
- staging
- pre-staging
- folder-build
- guest-contributor-fixes

jobs:
deploy-on-windows:
Expand Down
2 changes: 1 addition & 1 deletion src/pyflask/permissions/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def has_edit_permissions(ps_or_token, selected_dataset_id):
except Exception as e:
abort(500, "Could not get permissions for this dataset.")

return role in ["owner", "manager"]
return role in ["owner", "manager", "editor"]
Loading

0 comments on commit d1854d8

Please sign in to comment.