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

fix: parse allowed_account_types in provider config #91

Merged
merged 2 commits into from
Dec 13, 2021

Conversation

rahmatrhd
Copy link
Member

@rahmatrhd rahmatrhd commented Dec 13, 2021

closes #89

proto changes: raystack/proton#74

@rahmatrhd rahmatrhd added the bug Something isn't working label Dec 13, 2021
@rahmatrhd rahmatrhd requested a review from snorlacs December 13, 2021 02:43
if p.Config.Appeal.AllowActiveAccessExtensionIn == "" {
return ErrAppealFoundActiveAccess
}
if p.Config.Appeal != nil {
Copy link
Contributor

@snorlacs snorlacs Dec 13, 2021

Choose a reason for hiding this comment

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

@rahmatrhd what is the expected behaviour if p.Config.Appeal is nil

Copy link
Member Author

Choose a reason for hiding this comment

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

guardian will ignore the appeal config, because rules like AllowActiveAccessExtensionIn and AllowPermanentAccess are not present

@rahmatrhd rahmatrhd added this to the v0.1 milestone Dec 13, 2021
@rahmatrhd rahmatrhd merged commit 9d196b5 into main Dec 13, 2021
@rahmatrhd rahmatrhd deleted the allowed-account-types-fix branch December 13, 2021 08:57
rahmatrhd added a commit that referenced this pull request Nov 15, 2023
* feat(grant): add unique index for active grants

* test(grant): cleanup grants table after each test in grant repository test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allowed_account_types field in provider config is ignored
2 participants