portagenetwork / roadmap

Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
MIT License
6 stars 1 forks source link

DMP Ass't PATCH template customisation logic For Default Org #753

Closed aaronskiba closed 1 month ago

aaronskiba commented 1 month ago

This PR seeks to address the issue with users being unable to select some customizable templates.

The main problem appeared to be that the logic used to determine whether or not a customization be generated enforced the check org.funder_only? where org == Template.org. This is an issue for DMP Assistant because many of these customizable templates come from the app's default org which is BOTH a funder AND an institution.

This patch allows the default org public templates to be generated in the customizable templates section.

aaronskiba commented 1 month ago

https://github.com/portagenetwork/roadmap/pull/751 was already merged and solved the same issue as this PR.