-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow out-of-tree plugins to expose urls #518
Comments
knikolla
added a commit
to knikolla/coldfront-nerc
that referenced
this issue
May 3, 2023
- Introduces patches/01_add_api_urls.patch which works around ubccr/coldfront#518 and is applied on container build. - Introduces /api/allocations/ which returns a list of all Resource Allocations that are active. This API requires admin permissions to query (setting the staff flag after a first failed query) Some notes: - To authenticate to the API as a client, you must set `openid` as a default scope for the authenticating client and associate a mapper that maps `uid` to the User property `username`. You must also set the `email` field for the client user in Keycloak. Closes nerc-project#84
knikolla
added a commit
to knikolla/coldfront-nerc
that referenced
this issue
May 3, 2023
- Introduces patches/01_add_api_urls.patch which works around ubccr/coldfront#518 and is applied on container build. - Introduces /api/allocations/ which returns a list of all Resource Allocations that are active. This API requires admin permissions to query (setting the staff flag after a first failed query) Some notes: - To authenticate to the API as a client, you must set `openid` as a default scope for the authenticating client and associate a mapper that maps `uid` to the User property `username`. You must also set the `email` field for the client user in Keycloak. Closes nerc-project#84
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
/coldfront/config/urls.py
allows some of the in-tree plugins to append tourlplatterns
if they are enabled.As a plugin writer, I would like to see that functionality exposed to out-of-tree plugins as well, without having to patch ColdFront.
The text was updated successfully, but these errors were encountered: