generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 17
feat: implement policy templates #83
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
Open
caiorcferreira
wants to merge
25
commits into
cedar-policy:main
Choose a base branch
from
caiorcferreira:feat/templates-2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e91a8b0
feat: implement policy templates
caiorcferreira a5b5f31
feat: add SetFilename method to Template struct
caiorcferreira 00f2562
feat: set filename in template
caiorcferreira 1116e25
feat: add template management methods to PolicySet
caiorcferreira b8c96c8
chore: add godoc to main public types and functions
caiorcferreira b897f96
test: get, add and remove template functions
caiorcferreira 276efe5
feat: fail if both entity and slot are set in json format
caiorcferreira 071be6d
Merge branch 'main' of github.com:caiorcferreira/cedar-go into feat/t…
caiorcferreira cc0491d
feat: revert public types and functions to work over only static poli…
caiorcferreira db4a0be
feat: move template code to experimental package
caiorcferreira 00dc21b
refact: use public types to avoid duplicating Authorize function
caiorcferreira 195cb70
feat: return error on link template when conditions are invalid
caiorcferreira 608d6c5
refact: remove variable slot type
caiorcferreira 4800346
refact: make add slot private and use builder methods to manage slots
caiorcferreira 536bddc
refact: remove Slot method from interface and validate when parsing it
caiorcferreira b178952
refact: replicate policy to templates package
caiorcferreira 97dee92
tests: fix templates tests
caiorcferreira 6eccb26
feat: remove linked policies once template is removed
caiorcferreira 39bdf0e
feat: add support to remove links and ensure that link ids are unique
caiorcferreira eb2f7d2
fix: original tests
caiorcferreira ae8069f
feat: add all marshal/unmarshal methods to template
caiorcferreira c014e5e
feat: marshal/unmarshal template links
caiorcferreira 501303e
test: add policy slice test in templates
caiorcferreira 8f09e06
chore: add godocs
caiorcferreira 9d4eeff
chore: add experimental templates readme
caiorcferreira File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.