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

Extend Invitation Toolset support #10459

Open
5 tasks done
defstat opened this issue Sep 20, 2024 · 0 comments
Open
5 tasks done

Extend Invitation Toolset support #10459

defstat opened this issue Sep 20, 2024 · 0 comments
Assignees

Comments

@defstat
Copy link
Collaborator

defstat commented Sep 20, 2024

Describe the change
Enhancement of the Invitation API and General Invitation Toolset

Invitation API Changes:

  • Role Assignment: Extend the Invitation API to support Role Assignment for both existing and new users.
  • Validation Handling: Implement Laravel's Validation API to improve the handling of validation errors in the Invitation API.
  • API Resources: Use Laravel API Resources to return the Invitation object in a consistent format.

General Invitation Toolset Changes:

  • Invitation Structure: Change the invitation structure so that each invitation is placed in its own folder.
  • Code Reduction: Refactor the invitation toolset to minimize code. Specifically, move the accept/decline logic to dedicated handlers (e.g., API Handlers) to reduce complexity in the invitation logic.

PRs

OJS: pkp/ojs#4421
PKP-LIB: #10215

@defstat defstat self-assigned this Sep 20, 2024
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

No branches or pull requests

1 participant