-
Notifications
You must be signed in to change notification settings - Fork 18
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: Allow external iris for property and resource class when updating doap (DEV-4341) #3425
feat: Allow external iris for property and resource class when updating doap (DEV-4341) #3425
Conversation
webapi/src/main/scala/org/knora/webapi/responders/admin/PermissionsResponder.scala
Outdated
Show resolved
Hide resolved
…:permissionIri/for-what allowing to update the restrictions at a single endpoint
I have added a new endpoint Please have another review. |
…nPart check that token and name are consistent
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.
Thanks for your efforts. I have just looked at the documentation. If you think there is a particular code region where I should look at, I would need some directions.
I don't know how our deprecation process looks like. Perhaps you need to inform the frontend team about it?
"forProperty" : "http://api.dasch.swiss/ontology/00FF/images/v2#titel", | ||
"forResourceClass": "http://api.dasch.swiss/ontology/0803/incunabula/v2#bild", |
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.
Don't you like this comment? You have resolved it, but not changed the documentation.
webapi/src/main/scala/org/knora/webapi/slice/admin/api/PermissionsEndpoints.scala
Show resolved
Hide resolved
Forgot to ask. Should this PR be marked actually as |
It is both, the deprecated notice in the description should show up in the release notes as well as far as I understand. |
Co-authored-by: Johannes Nussbaum <39048939+jnussbaum@users.noreply.github.com>
Co-authored-by: Johannes Nussbaum <39048939+jnussbaum@users.noreply.github.com>
Co-authored-by: Johannes Nussbaum <39048939+jnussbaum@users.noreply.github.com>
deprecated: Deprecate endpoints for updating a Default Access Permission in favor of newly introduces
PUT /admin/permissions/doap/:permissionIri
endpointDeprecated endpoints:
PUT /admin/permissions/:permissionIri/resourceClass
PUT /admin/permissions/:permissionIri/property
PUT /admin/permissions/:permissionIri/group
(deprecated only for DOAPs)PUT /admin/permissions/:permissionIri/hasPermission
(deprecated only for DOAPs)Pull Request Checklist
Task Description/Number
Issue Number: DEV-
PR Type
Basic requirements for bug fixes and features
Does this PR introduce a breaking change?