Skip to content

Task/wc 332 add project admin to dpmp#1327

Open
van-go wants to merge 8 commits into
task/digital-rocksfrom
task/WC-332-Add-Project-Admin-to-DPMP
Open

Task/wc 332 add project admin to dpmp#1327
van-go wants to merge 8 commits into
task/digital-rocksfrom
task/WC-332-Add-Project-Admin-to-DPMP

Conversation

@van-go

@van-go van-go commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Overview

Prevents client.files.grantPermissions / client.files.deletePermissions from being called with the wma_prtl service account when Tapis requires the actual system owner.

When a Project Admin creates a new workspace, their username is passed as the Tapis system owner, so later owner-only actions can work for that workspace.

Related

Changes

Testing

UI

Notes

van-go and others added 4 commits June 12, 2026 11:54
Add project admin group functionality and related client access checks

- Introduced `check_project_admin_group` and `get_project_client` functions to manage project admin access.
- Updated various views to utilize the new client access logic for project admins.
- Enhanced project metadata handling to include project admin group checks.
- Added unit tests for project admin group functionality and client retrieval.
@van-go van-go requested review from jarosenb and shayanaijaz June 25, 2026 23:18

@jarosenb jarosenb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good- I'm approving but I want to hold off on merging until we can deploy to PPRD and check out the edge cases we ran into in the last testing session.

Comment thread server/portal/apps/projects/views.py Outdated

@shayanaijaz shayanaijaz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a comment for changes to a function

@shayanaijaz shayanaijaz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Not merging at the moment since we are going to be deploying this branch for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants