Skip to content

refactor: any user can call /contributions and /contributions/{media-type}

Refactor(contributions): access restriction for /contributions to any user

Format: refactor(scope): short description Example: refactor(auth): simplify token validation logic

Description

Refactored the role restrictions in /contributions and /contributions/{media-type} so any authenticated users can call these endpoints.

Checklist

  • Code has been refactored for clarity, maintainability, or performance.
  • No functional changes have been introduced.
  • All existing tests are passing.
  • Code adheres to project coding standards.

Related Issue(s)

Closes corpus-client-app#214 (closed)

Merge request reports

Loading