CDLUC3 / dmptool

DMPTool version of the DMPRoadmap codebase
https://dmptool.org
MIT License
57 stars 13 forks source link

API v2 returns the API client's plans by default if the OAuth2 user has no plans #475

Closed briri closed 7 months ago

briri commented 1 year ago

We should return an empty array instead of defaulting to the API client's plans.

This happens when the API Client receives authorization to access the user's plans but that user has no valid plans (valid = "complete" and not a test plan)

briri commented 1 year ago

Updated policy