Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to staging #268

Merged
merged 31 commits into from
Nov 10, 2023
Merged

Deploy to staging #268

merged 31 commits into from
Nov 10, 2023

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Nov 10, 2023

No description provided.

amstilp and others added 30 commits November 3, 2023 15:48
This view will have a link to the PRIMED coordinated applications
that the CC has imported into dbGaP. It will be publicly viewable,
similar to the CDSA records view.
Add a table to display the records without links. Add a view, a
template, a new url, and tests.
Add the model, a migration, and tests.
Add tests of the WorkspaceCreate, WorkspaceImport, and WorkspaceDetail
views. Note that the create and import views are broken due to a bug
in ACM (which will be fixed in the next released version). Update the
template show it shows a link back to the target workspace.
Use the new permissions in the user_detail template (view -> staff_view).
Add a test to check that the link to the Account page is only shown
for users with staff_view permission.
Use the new view -> staff_view permission in the study_detail
template. Add a tests to check that the relevant information is
displayed iff the user has staff_view permission.
Change the permissions from view -> staff_view. Add tests to check
that the information is only displayed when the user has the
expected permissions.
Update the permissions in the navitems template for the dbGaP app to
use the new permissions in ACM v0.20. Add tests to check that the
relevant links are only displayed when appropriate.
Use the new ACM v0.20 permissions in the CDSA nav items template.
Add tests to check that information is only displayed when the user
has appropriate permissions.
Update the view -> staff_view permissions in the base template.
Add tests to ensure that the link to the ACM index page only appears
for users with staff_view permission.
Use the new edit -> staff_edit permission in the overridden ACM
navbar template. Add tests to check that links only appear when
appropriate.
In the tests, fix the permission codenames after merging with main.
The main branch is updated to ACM v0.20, which fixes a bug found in
this branch but also includes updated permissions.
Fix failures that arose after the ACM bugfix was installed.
The tests for creating different workspace types using the ACM
WorkspaceCreate view had unused helper methods to return an api url.
Remove these method definitions since they are not being used
anywhere in the tests.
Not really thematically part of this branch, but cleans up test
coverage.
Update the migration. Show the is_active field in the table. Show
the is_active status on the detail page. Add the field to the
workspace data form.
The patch version also has a bugfix for the WorkspaceUpdate and
WorkspaceClone views for workspace data objects that have a second
foreign key to Workspace.
Add a new DataPrepWorkspace workspace type
@amstilp amstilp marked this pull request as ready for review November 10, 2023 00:12
@amstilp amstilp merged commit 17b5536 into deploy/stage Nov 10, 2023
5 checks passed
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.

1 participant