-
Notifications
You must be signed in to change notification settings - Fork 28
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
Adapt to ICM Security and Interoperability Profile #208
Conversation
@AxelNennker @rartych This PR should be set as DRAFT until a decision is made in the ICM WG (or at least keep the 11.6 Security Definition section out of the scope of the PR as it is not related to the content of the new ICM profile document). ICM CAMARA-API-access-and-user-consent.md already documents "CAMARA API Specification - Authorization and authentication common guidelines" and this document is also being adapted to ICM Security and Interoperability Profile (camaraproject/IdentityAndConsentManagement#155). ICM, as Commonalities WG, also provides guidance to API subprojects and this should be well-known. This particular guideline comes from ICM and it is no related with the profile and I personally would keep this information within ICM. But in any case, whatever it's ultimately done, it should be an ICM WG decision. |
I think it is a Commonalities decision what to have in API design guidelines, and because the OpenAPI guidelines are already in there in section 11 I suggest to have the OpenAPI security-scheme guidelines there as well. |
Agree, but what you are doing here is unilaterally moving information from the ICM to Commonalities deciding on behalf of the ICM WG. I agree that Commonalities should decide what is documented in the API Design Guidelines (Commonalities WG is the owner), but first the ICM WG should decide whether this information should be removed from the ICM or not. Right? |
I think a Pull Request is never unilateral because it is a "request". |
Added text to the description of the Pull Request
|
I disagree, I think you are skipping the decision of the ICM WG. |
I guess that the root problem is that the OpenAPI security schemes are in the intersection of Commonalities and ICM. I am creating issues and PRs as "me" not as an ICM representative. |
Just as the ICM Security and Interoperability Profile contains many references to standards and other documents, I don't see what the problem is in including in the API design guidelines a reference to the corresponding official CAMARA ICM document where these guidelines are specified. These guidelines are the result of work done in the ICM and are documented in a document under the ownership of the ICM, which I think is correct. So, IMHO, it is only by decision of the ICM that this information could be moved. And not only that, the information contained in section 11.6 is NOT even the same information documented in the ICM doc. This PR changes the content, even the content of such a sensitive part as the info.description template, which needed a long review and approval of the ICM working group participants. Changing that information should be reviewed and approved by ICM. |
As I said, I think that guidelines on OpenAPI should all be in one place and because the majority of the OpenAPI guidelines are in API design guidelines section 11 the guideline regarding security schemes should be there as well.
I think there is no such thing as "ownership" in Camara. We all work together to achieve secure and interoperable API definitions and guidelines. "IdentityAndConsent" is such a big chunk of work that it was decided to create the IdentityAndConsent WG and, of course, the results of our ICM work flow to were they help implementers, API designers, API consumers, ... the most.
As "CAMARA guidelines defines a set of authorization flows which can grant API clients access to the API functionality" is now done in the Security and Interoperability Profile the text had to be changed to link to the Profile. |
Regarding
I amended info.description in this Pull Request. That was mostly a copy-past error as I forgot to copy the last section. |
That is the issue @AxelNennker. No one should be reviewing this to ensure yo did not make any "mistake" acting on your behalf proposing to move agreed text from a group to another. |
@diegogonmar I believe that mistakes can always happen. E.g. when a API subproject copies the info.description from OpenAPI guidelines to their own yaml file that last paragraph might be temporarily be lost again until a reviewer catches that. That's why we have reviews. |
Co-authored-by: Jesús Peña García-Oliva <jesus.penagarcia-oliva@telefonica.com>
My paraphrasing of the arguments presented - with edits by @jpengar in the cons section Main question is whether or not moving OpenAPI security schemes and info.description to OpenAPI definitions Pro :
Contra moving arguments:
Options:
|
Shouldn't all this be in camaraproject/IdentityAndConsentManagement#160 that is the issue open after discussion during the ICM meeting on 22 May?? |
right, thanks @jpengar |
Co-authored-by: Elisabeth-Ericsson <121795930+Elisabeth-Ericsson@users.noreply.github.com>
Co-authored-by: Elisabeth-Ericsson <121795930+Elisabeth-Ericsson@users.noreply.github.com>
Co-authored-by: Elisabeth-Ericsson <121795930+Elisabeth-Ericsson@users.noreply.github.com>
Co-authored-by: Elisabeth-Ericsson <121795930+Elisabeth-Ericsson@users.noreply.github.com>
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.
Some suggested adjustments.
Co-authored-by: Jesús Peña García-Oliva <jesus.penagarcia-oliva@telefonica.com>
Co-authored-by: Jesús Peña García-Oliva <jesus.penagarcia-oliva@telefonica.com>
Co-authored-by: Jesús Peña García-Oliva <jesus.penagarcia-oliva@telefonica.com>
Co-authored-by: Jesús Peña García-Oliva <jesus.penagarcia-oliva@telefonica.com>
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.
LGTM.
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.
/LGTM
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.
Two minor points (if not possible to integrate, we can merge this and raise fix PR after)
LGTM in advance
Co-authored-by: Pedro Díez García <pedro.diezgarcia@telefonica.com>
Co-authored-by: Pedro Díez García <pedro.diezgarcia@telefonica.com>
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.
LGTM
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.
LGTM
What type of PR is this?
Add one of the following kinds:
What this PR does / why we need it:
ICM created the Camara Security and Interoperablity Profile which is not reflected in Camara API Design Guidelines.
Which issue(s) this PR fixes:
Fixes #207