-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Documentation fixes for Authorization of web endpoints guide #37562
Documentation fixes for Authorization of web endpoints guide #37562
Conversation
@jedla97 I'll ask Sergey to review little later, but could you have a look, since you raised these points, please? |
🙈 The PR is closed and the preview is expired. |
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.
Feels good to me. just one comment. It's not forced from my side. We can leave it as it is.
<1> Grants the permission `media-library`, which permits `read`, `write`, and `list` actions. | ||
Because `MediaLibrary` is the `TvLibrary` class parent, a user with the `admin` role is also permitted to modify `TvLibrary`. | ||
|
||
TIP: The `/library/*` path can be tested from a Keycloak provider DEV UI page, because user `alice` created automatically | ||
by the xref:security-openid-connect-dev-services.adoc[Dev Services for Keycloak] has an `admin` role. |
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.
As the paths are using PUT method shouldn't be better link to section with testing with Swagger UI or GraphQL UI?
It will be looking like this xref:security-openid-connect-dev-services.adoc#test-with-swagger-graphql
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.
yes, that's definitely true, but not every application has Swagger UI, while every application with the OIDC extension will have Keycloak provider that links to Swagger UI. I also think that security-openid-connect-dev-services
contains sections for other testing options (depending if it is web app or service app), so I'd keep it.
Thanks @jedla97 , the PR might look very different after Sergey review, but I appreciate your feedback and checks. |
@michalvavrik Looking at it once again can you add in |
I don't think it should be necessary as I intentionally put them into same package. Can you re-check, please? Maybe I'm missing something :-/ |
docs/src/main/asciidoc/security-authorize-web-endpoints-reference.adoc
Outdated
Show resolved
Hide resolved
46a277c
to
d4f52b8
Compare
docs/src/main/asciidoc/security-authorize-web-endpoints-reference.adoc
Outdated
Show resolved
Hide resolved
Thanks @michalvavrik for taking care of it |
d4f52b8
to
a2b0e78
Compare
a2b0e78
to
11d2e78
Compare
you are right, it would need to be |
Thanks @michalvavrik @jedla97 |
closes: #37540