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

feat: Allow external iris for property and resource class when updating doap (DEV-4341) #3425

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

seakayone
Copy link
Contributor

@seakayone seakayone commented Nov 14, 2024

deprecated: Deprecate endpoints for updating a Default Access Permission in favor of newly introduces PUT /admin/permissions/doap/:permissionIri endpoint

Deprecated 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

  • build/chore: maintenance tasks (no production code change)
  • docs: documentation changes (no production code change)
  • feat: represents new features
  • fix: represents bug fixes
  • perf: performance improvements
  • refactor: represents production code refactoring
  • test: adding or refactoring tests (no production code change)
  • deprecated: Deprecation warning (ideally referencing a migration guide)

Basic requirements for bug fixes and features

  • Tests for the changes have been added
  • Docs have been added / updated

Does this PR introduce a breaking change?

  • Yes

Copy link

linear bot commented Nov 14, 2024

@seakayone seakayone self-assigned this Nov 14, 2024
@seakayone seakayone changed the title fix: Allow external iris for property and resource class when updating doap fix: Allow external iris for property and resource class when updating doap (DEV-4341) Nov 14, 2024
Copy link

linear bot commented Nov 14, 2024

@seakayone seakayone changed the title fix: Allow external iris for property and resource class when updating doap (DEV-4341) feat: Allow external iris for property and resource class when updating doap (DEV-4341) Nov 14, 2024
@seakayone
Copy link
Contributor Author

I have added a new endpoint PUT /admin/permissions/doap/:permissionIri which allows for updating an existing doap. This is deprecating existing endpoints as described above. I also updated the documentation.

Please have another review.

Copy link
Contributor

@jnussbaum jnussbaum left a comment

Choose a reason for hiding this comment

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

Here I already leave some comments. More is to follow.

docs/03-endpoints/api-admin/permissions.md Outdated Show resolved Hide resolved
docs/03-endpoints/api-admin/permissions.md Outdated Show resolved Hide resolved
docs/03-endpoints/api-admin/permissions.md Outdated Show resolved Hide resolved
docs/03-endpoints/api-admin/permissions.md Outdated Show resolved Hide resolved
docs/03-endpoints/api-admin/permissions.md Outdated Show resolved Hide resolved
docs/03-endpoints/api-admin/permissions.md Outdated Show resolved Hide resolved
docs/03-endpoints/api-admin/permissions.md Outdated Show resolved Hide resolved
docs/03-endpoints/api-admin/permissions.md Outdated Show resolved Hide resolved
@seakayone seakayone enabled auto-merge (squash) November 15, 2024 15:33
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.

4 participants