You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curling the protected endpoint without authentication returns 401 Unauthorized
curl --insecure -X GET https://localhost:9200/ocs/v1.php/apps/files_sharing/api/v1/tokeninfo/protected/jqDCLhaiyIvXZTp
HTTP/1.1 401 Unauthorized
Acceptance Criteria
There is a public endpoint to resolve public urls for unauthenticated users
There is a private endpoint to resolve private (only shared with authenticated users) links
If the permissions on a resource are changed, the URL stays the same
Definition of done
Functional requirements
[ ] functionality described in the user story works
[ ] acceptance criteria are fulfilled
Quality
[ ] codre review happened
[ ] CI is green
[ ] critical code received unit tests by the developer
[ ] automated tests passed (if automated tests are not available, this test needs to be created and passed
Non-functional requirements
[ ] no sonar cloud issues
The text was updated successfully, but these errors were encountered:
Description
User Stories
Value
Alias Links
Create
Implementation
Adds an endpoint to ocs service that exposes information about link tokens.
Usage:
curling the
unprotected
endpoint returns standard informationcurling a password protected link only returns minimal information
curling the
protected
endpoint returns full information if user has native accesscurling the
protected
endpoint returns same information asunprotected
endpoint if user does not have native accesscurling the
protected
endpoint without authentication returns401 Unauthorized
Acceptance Criteria
Definition of done
[ ] functionality described in the user story works
[ ] acceptance criteria are fulfilled
[ ] codre review happened
[ ] CI is green
[ ] critical code received unit tests by the developer
[ ] automated tests passed (if automated tests are not available, this test needs to be created and passed
[ ] no sonar cloud issues
The text was updated successfully, but these errors were encountered: