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

Carve out exception for delete permission for group-wide items #1023

Merged
merged 2 commits into from
Dec 1, 2024

Conversation

ml-evs
Copy link
Member

@ml-evs ml-evs commented Dec 1, 2024

like equipment and starting materials. Probably these should not be deletable, until we configure them to be tied to a certain user on creation (related to #835 and #831).

Copy link

codecov bot commented Dec 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.04%. Comparing base (f5bc9dd) to head (e1e3f36).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1023      +/-   ##
==========================================
+ Coverage   70.00%   70.04%   +0.04%     
==========================================
  Files          62       62              
  Lines        3994     3996       +2     
==========================================
+ Hits         2796     2799       +3     
+ Misses       1198     1197       -1     
Files with missing lines Coverage Δ
pydatalab/src/pydatalab/permissions.py 85.41% <100.00%> (+0.63%) ⬆️
pydatalab/src/pydatalab/routes/v0_1/collections.py 70.45% <ø> (ø)
pydatalab/src/pydatalab/routes/v0_1/items.py 82.84% <ø> (+0.32%) ⬆️

Copy link

cypress bot commented Dec 1, 2024

datalab    Run #2852

Run Properties:  status check passed Passed #2852  •  git commit 1afb2a1947 ℹ️: Merge e1e3f3659d9e97fb29c197a04b847b95b857b584 into f5bc9dddcb761c5b2c61704d1a1c...
Project datalab
Branch Review ml-evs/tweak-permissions-again
Run status status check passed Passed #2852
Run duration 06m 56s
Commit git commit 1afb2a1947 ℹ️: Merge e1e3f3659d9e97fb29c197a04b847b95b857b584 into f5bc9dddcb761c5b2c61704d1a1c...
Committer Matthew Evans
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 471
View all changes introduced in this branch ↗︎

@ml-evs ml-evs merged commit de42fbe into main Dec 1, 2024
17 checks passed
@ml-evs ml-evs deleted the ml-evs/tweak-permissions-again branch December 1, 2024 21:59
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