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

Add resource_type on keycloak_openid_client_authorization_permission #702

Conversation

JessieAMorris
Copy link
Contributor

See issue #398 for details. Also
adds docs for keycloak_openid_client_authorization_permission as well.

…_permission

See issue mrparkers#398 for details. Also
adds docs for keycloak_openid_client_authorization_permission as well.
@JessieAMorris JessieAMorris force-pushed the feature/resource-type-authorization-permission branch from 339e909 to bc9aeac Compare June 28, 2022 17:16
@JessieAMorris JessieAMorris changed the title A resource_type on keycloak_openid_client_authorization_permission Add resource_type on keycloak_openid_client_authorization_permission Jun 28, 2022
@JessieAMorris
Copy link
Contributor Author

@mrparkers any chance you could review this? This is blocking me from implementing some features and the changes are pretty minimal.

@JessieAMorris
Copy link
Contributor Author

@mrparkers any word on this? I don't want this MR to languish and fall by the wayside. I see other MRs getting merged so some feedback on what I need to change or do to get this merged would be great.

@mrparkers
Copy link
Owner

I'm sorry @JessieAMorris, you're right that I've been neglecting this one. At a glance the code LGTM, and I also really appreciate adding the docs for this resource too. Give me an hour or two to pull this down locally and get a feel for it, and I'll get this merged and cut a release for you today.

Thanks for your patience!

@@ -59,6 +60,10 @@ func resourceKeycloakOpenidClientAuthorizationPermission() *schema.Resource {
Elem: &schema.Schema{Type: schema.TypeString},
Optional: true,
},
"resource_type": {
Type: schema.TypeString,
Optional: true,
Copy link
Owner

Choose a reason for hiding this comment

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

In the GUI, it looks like you can't set the resource type and a list of resources. Should we add a ConflictsWith here and within the resources attribute?

Copy link
Owner

Choose a reason for hiding this comment

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

I went ahead and pushed this change to your branch so I could get this merged / released today. If it turns out you don't think this is needed, we can remove it in a follow-up PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, thanks. I had that change being made but was running acceptance tests! Sorry about the delay getting back to you, it's been a crazy morning.

Copy link
Owner

@mrparkers mrparkers Jul 28, 2022

Choose a reason for hiding this comment

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

You have nothing to apologize for, I'm pretty sure my delay in reviewing this PR was longer 😉

I just wanted to get this merged and released today like I promised, and I'm about to board a flight in a few hours and wouldn't be able to get to it then.

Thanks again for the PR!

Copy link
Owner

@mrparkers mrparkers left a comment

Choose a reason for hiding this comment

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

Thanks again for the PR, so sorry for the super long delay on this one.

@mrparkers mrparkers merged commit 0a213cc into mrparkers:master Jul 28, 2022
@JessieAMorris
Copy link
Contributor Author

Thanks for the merge! Looking forward to using this in my code. :-)

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.

2 participants