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

Add PRIMED CC admins to groups created by this project #361

Merged
merged 3 commits into from
Dec 19, 2023

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Dec 19, 2023

Some apps in this project create groups on AnVIL (e.g., the dbGaP access group, the CDSA access and uploader groups). When groups are created automatically like this, add the CC ADMINS as an admin of the newly created groups.

Closes #360

Add a setting indicating the name of the PRIMED_CC_ADMINS group (by
default PRIMED_CC_ADMINS in prod). When creating CDSA groups
automatically in the app, add this group to those groups as an admin.
Like for the CDSA group, automatically create an admin membership
for the dbGaP application access groups.
Add tests that check behavior when creating CDSA group-admin
memberships.
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (512a9b7) 98.27% compared to head (1244bef) 98.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #361      +/-   ##
==========================================
+ Coverage   98.27%   98.29%   +0.01%     
==========================================
  Files         232      232              
  Lines       17829    18024     +195     
==========================================
+ Hits        17522    17717     +195     
  Misses        307      307              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amstilp amstilp marked this pull request as ready for review December 19, 2023 21:47
@amstilp amstilp merged commit 77eb65e into main Dec 19, 2023
8 checks passed
@amstilp amstilp deleted the feature/add-primed-cc-admins-to-some-groups branch February 6, 2024 18:34
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.

Automatically add PRIMED_CC_ADMINS as the admin of (some) groups that are created
1 participant