This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
change: move actual permissions to .status + apply IRAs to consumed permissions #2226
Merged
iwilltry42
merged 13 commits into
acorn-io:main
from
iwilltry42:fix/enhanced-perms-logic
Oct 16, 2023
Merged
change: move actual permissions to .status + apply IRAs to consumed permissions #2226
iwilltry42
merged 13 commits into
acorn-io:main
from
iwilltry42:fix/enhanced-perms-logic
Oct 16, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ity and add a bunch of comments around permissions Signed-off-by: Thorsten Klein <[email protected]>
…ested) Signed-off-by: Thorsten Klein <[email protected]>
Signed-off-by: Thorsten Klein <[email protected]>
Signed-off-by: Thorsten Klein <[email protected]>
Signed-off-by: Thorsten Klein <[email protected]>
Signed-off-by: Thorsten Klein <[email protected]>
- add: test for consumer permissions when IRAs are enabled - change: account for mixed digest namePatterns - change: custom imageName parsing in matching logic to avoid docker.io auto-prefix Signed-off-by: Thorsten Klein <[email protected]>
iwilltry42
requested review from
ibuildthecloud,
g-linville,
thedadams,
cjellick,
njhale and
tylerslaton
and removed request for
ibuildthecloud and
g-linville
October 12, 2023 09:23
iwilltry42
changed the title
change: adds .Status.Permissions + rename permissions fields for clar…
change: move actual permissions to .status + apply IRAs to consumed permissions
Oct 12, 2023
Signed-off-by: Thorsten Klein <[email protected]>
Signed-off-by: Thorsten Klein <[email protected]>
g-linville
reviewed
Oct 12, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is my first pass. Gonna have to wrap my head around this some more, but these are my initial thoughts.
Signed-off-by: Thorsten Klein <[email protected]>
iwilltry42
force-pushed
the
fix/enhanced-perms-logic
branch
from
October 12, 2023 15:51
cb6a15f
to
1f59494
Compare
thedadams
approved these changes
Oct 12, 2023
g-linville
approved these changes
Oct 13, 2023
Co-authored-by: Donnie Adams <[email protected]> Signed-off-by: Thorsten Klein <[email protected]>
Co-authored-by: Donnie Adams <[email protected]> Signed-off-by: Thorsten Klein <[email protected]>
Signed-off-by: Thorsten Klein <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces quite a few changes around permissions:
.status.permissions
field and contain only those permissions required for this specific AppInstance, not for nested Acorns.spec
to.status
along with the staged AppImage when all checks (including ImageRoleAuthorizations) pass.status.permissions
field such that this field reflects truly all permissions given to that AppInstanceChecklist
This is a title (#1216)
. Here's an example