psu-libraries / researcher-metadata

Penn State University's faculty and research metadata repository
https://metadata.libraries.psu.edu/
MIT License
7 stars 0 forks source link

Universal access to organizations' publications for API Tokens #967

Open ajkiessl opened 7 months ago

ajkiessl commented 7 months ago

ScholarSphere now has a feature to pull metadata for publications through RMD's API. This requires an API Token that would ideally have access to publications for all organizations. We can manually give this token access to all organizations, however, when new organizations are imported (and their respective publications) we'll have to manually add these. We could use a boolean field to determine if an APIToken has universal access to organizations.

WDDLL

A boolean added to the APIToken data model. Allow access to all organizations through the API when this boolean is true. This way we won't have to manually add new organizations.