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

🐛Check permissions before modifying project nodes #4582

Conversation

sanderegg
Copy link
Member

@sanderegg sanderegg commented Aug 6, 2023

What do these changes do?

ensure permission checks are done prior to adding/removing project nodes

NOTE: @matusdrobuliak66 this should go in the hotfix to staging as well

Related issue/s

How to test

DevOps Checklist

@sanderegg sanderegg added the a:webserver issue related to the webserver service label Aug 6, 2023
@sanderegg sanderegg added this to the Sundae milestone Aug 6, 2023
@sanderegg sanderegg self-assigned this Aug 6, 2023
@sanderegg sanderegg requested a review from odeimaiz August 6, 2023 13:14
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codeclimate
Copy link

codeclimate bot commented Aug 6, 2023

Code Climate has analyzed commit e59ec16 and detected 0 issues on this pull request.

View more on Code Climate.

@codecov
Copy link

codecov bot commented Aug 6, 2023

Codecov Report

Merging #4582 (e59ec16) into master (558758e) will decrease coverage by 4.8%.
The diff coverage is 100.0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #4582      +/-   ##
=========================================
- Coverage    86.7%   81.9%    -4.8%     
=========================================
  Files        1023     447     -576     
  Lines       43762   23445   -20317     
  Branches     1014     189     -825     
=========================================
- Hits        37946   19214   -18732     
+ Misses       5589    4184    -1405     
+ Partials      227      47     -180     
Flag Coverage Δ
integrationtests 66.7% <0.0%> (+<0.1%) ⬆️
unittests 86.9% <100.0%> (+2.7%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...erver/src/simcore_service_webserver/projects/db.py 99.4% <100.0%> (+<0.1%) ⬆️

... and 676 files with indirect coverage changes

@sanderegg sanderegg merged commit 2b25897 into ITISFoundation:master Aug 7, 2023
@sanderegg sanderegg deleted the bugfix/ensure-project-nodes-changed-after-permission-is-checked branch August 7, 2023 05:58
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Sep 22, 2023
50 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:webserver issue related to the webserver service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants