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

cli: set-eacl update #2490

Merged
merged 2 commits into from
Aug 11, 2023
Merged

cli: set-eacl update #2490

merged 2 commits into from
Aug 11, 2023

Conversation

AliceInHunterland
Copy link
Contributor

@AliceInHunterland AliceInHunterland commented Aug 10, 2023

force flag added, no-precheck deprecated, ownership check added
Refs #2436.

@AliceInHunterland AliceInHunterland changed the title cli: force flag added, no-precheck deprecated, ownership check added cli: set-eacl force flag added, no-precheck deprecated, ownership check added Aug 10, 2023
@AliceInHunterland AliceInHunterland changed the title cli: set-eacl force flag added, no-precheck deprecated, ownership check added cli: set-eacl update Aug 10, 2023
@roman-khimov
Copy link
Member

You can add multiple commits, each solving a particular part of the problem.

@codecov
Copy link

codecov bot commented Aug 10, 2023

Codecov Report

Merging #2490 (a4eba03) into master (21e9d2a) will not change coverage.
The diff coverage is n/a.

❗ Current head a4eba03 differs from pull request most recent head cbac4d3. Consider uploading reports for the commit cbac4d3 to get more accurate results

@@           Coverage Diff           @@
##           master    #2490   +/-   ##
=======================================
  Coverage   29.29%   29.29%           
=======================================
  Files         399      399           
  Lines       30346    30346           
=======================================
  Hits         8891     8891           
  Misses      20719    20719           
  Partials      736      736           

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

@AliceInHunterland AliceInHunterland force-pushed the feature/2436-cli-set-eacl-check branch 2 times, most recently from b37ff3b to 3f01823 Compare August 10, 2023 14:48
@AliceInHunterland AliceInHunterland force-pushed the feature/2436-cli-set-eacl-check branch 4 times, most recently from 9c437c9 to a2add5f Compare August 11, 2023 08:03
@AliceInHunterland AliceInHunterland marked this pull request as ready for review August 11, 2023 08:05
@AliceInHunterland AliceInHunterland force-pushed the feature/2436-cli-set-eacl-check branch 3 times, most recently from 974067a to 883dde9 Compare August 11, 2023 08:42
The eACL table can only be set by the container owner or his authorized representative. Similar to `container delete`, it makes sense to add an ownership check to `container set-eacl`.

Precede the ACL extensibility check with an owner check: if the `--no-precheck` flag is set, then the caller must be the owner of the container or provide a session token signed by them.

Refs #2436.

Signed-off-by: Ekaterina Pavlova <[email protected]>
Deprecate no-precheck flag which is functionally the same as force(skips verification).

Closes #2436.

Signed-off-by: Ekaterina Pavlova <[email protected]>
@cthulhu-rider cthulhu-rider merged commit 86c5d3b into master Aug 11, 2023
8 of 9 checks passed
@cthulhu-rider cthulhu-rider deleted the feature/2436-cli-set-eacl-check branch August 11, 2023 09:25
AliceInHunterland added a commit that referenced this pull request Oct 2, 2023
Remove the "no-precheck" flag, which is equivalent to "force" (skips
verification) and has been deprecated since #2490.

Closes: #2496.

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this pull request Oct 2, 2023
Remove the "no-precheck" flag, which is equivalent to "force" (skips
verification) and has been deprecated since #2490.

Closes: #2496.

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this pull request Oct 2, 2023
Remove the "no-precheck" flag, which is equivalent to "force" (skips
verification) and has been deprecated since #2490.

Closes: #2496.

Signed-off-by: Ekaterina Pavlova <[email protected]>
AliceInHunterland added a commit that referenced this pull request Oct 2, 2023
Remove the "no-precheck" flag, which is equivalent to "force" (skips
verification) and has been deprecated since #2490.

Closes: #2496.

Signed-off-by: Ekaterina Pavlova <[email protected]>
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.

3 participants