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

feat(authz): [DRAFT] Add temporal attribute to AccessPDP #1568

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

Leaundrae
Copy link

No description provided.

@Leaundrae Leaundrae changed the title Adding Temporal Methods and Checks [Do Not Submit] Adding Temporal Methods and Checks Sep 24, 2024
Copy link

@timdumm timdumm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@davidbkirk
Copy link

davidbkirk commented Sep 24, 2024

@Leaundrae thoughts on changing contains to between?
ie https://momentjs.com/docs/#/query/is-between/

fun fact -> moment/moment@90efd78

@Leaundrae
Copy link
Author

@Leaundrae thoughts on changing contains to between? ie https://momentjs.com/docs/#/query/is-between/

fun fact -> moment/moment@90efd78

I'm good with using between. Its cleaner and

@davidbkirk davidbkirk changed the title [Do Not Submit] Adding Temporal Methods and Checks feat(accesspdp): Add temporal attribute to AccessPDP Sep 24, 2024
@davidbkirk davidbkirk changed the title feat(accesspdp): Add temporal attribute to AccessPDP feat(authz): [DRAFT] Add temporal attribute to AccessPDP Sep 24, 2024

This comment has been minimized.

1 similar comment

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

Warning

This pull request does not reference any issues. Please add a reference to an issue in the body of the pull request description.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since no longer using the bootstrap keycloak, can revert these

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove these logs

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be useful later but remove for now to reduce footprint

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer need these logs can revert

@@ -440,7 +441,12 @@ func makeScopeMap(scope *authorization.ResourceAttribute) map[string]bool {
}

func (as *AuthorizationService) GetEntitlements(ctx context.Context, req *authorization.GetEntitlementsRequest) (*authorization.GetEntitlementsResponse, error) {
as.logger.DebugContext(ctx, "getting entitlements")
as.logger.DebugContext(ctx,"Preparing to retrieve entitlements")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleanup these logs

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