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 permission check when updating workspace #81

Merged
merged 4 commits into from
Aug 11, 2023

Conversation

raintygao
Copy link
Collaborator

Description

add permission check when updating workspace

Issues Resolved

Screenshot

Testing the changes

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
    • yarn test:ftr
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2023

Codecov Report

Merging #81 (6df8edb) into workspace (d4e27e5) will decrease coverage by 5.16%.
Report is 1 commits behind head on workspace.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##           workspace      #81      +/-   ##
=============================================
- Coverage      65.65%   60.49%   -5.16%     
=============================================
  Files           3341     2904     -437     
  Lines          64594    56767    -7827     
  Branches       10276     9092    -1184     
=============================================
- Hits           42411    34344    -8067     
- Misses         19620    20409     +789     
+ Partials        2563     2014     -549     
Flag Coverage Δ
Linux_1 34.67% <ø> (-0.01%) ⬇️
Linux_3 42.36% <0.00%> (-0.06%) ⬇️
Windows_1 ?
Windows_2 54.27% <0.00%> (-0.08%) ⬇️
Windows_3 ?
Windows_4 ?

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

Files Changed Coverage Δ
..._objects/workspace_saved_objects_client_wrapper.ts 4.16% <0.00%> (-1.17%) ⬇️

... and 700 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
Signed-off-by: tygao <tygao@amazon.com>
@raintygao raintygao merged commit 3b8879d into ruanyl:workspace Aug 11, 2023
36 of 39 checks passed
SuZhou-Joe pushed a commit that referenced this pull request Aug 31, 2023
* feat: add permission check when updating workspace

Signed-off-by: tygao <tygao@amazon.com>

* fix: only use management access and update bulkUpdate logic

Signed-off-by: tygao <tygao@amazon.com>

* chore: update code

Signed-off-by: tygao <tygao@amazon.com>

* chore: update code after rebase

Signed-off-by: tygao <tygao@amazon.com>

---------

Signed-off-by: tygao <tygao@amazon.com>
SuZhou-Joe pushed a commit that referenced this pull request Aug 31, 2023
* feat: add permission check when updating workspace

Signed-off-by: tygao <tygao@amazon.com>

* fix: only use management access and update bulkUpdate logic

Signed-off-by: tygao <tygao@amazon.com>

* chore: update code

Signed-off-by: tygao <tygao@amazon.com>

* chore: update code after rebase

Signed-off-by: tygao <tygao@amazon.com>

---------

Signed-off-by: tygao <tygao@amazon.com>
ruanyl pushed a commit that referenced this pull request Sep 15, 2023
* feat: add permission check when updating workspace

Signed-off-by: tygao <tygao@amazon.com>

* fix: only use management access and update bulkUpdate logic

Signed-off-by: tygao <tygao@amazon.com>

* chore: update code

Signed-off-by: tygao <tygao@amazon.com>

* chore: update code after rebase

Signed-off-by: tygao <tygao@amazon.com>

---------

Signed-off-by: tygao <tygao@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants