-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Hello guys,
I've been looking through and found I can override ckan authorization system with a plugin that implements IAuthFunctions and just return the new fuction that I want.
But, as Datastore is already a plugin, how should I proceed in order to modify it s behaviour ?
Of course, I don't want to directly modify the Datastore functions but instead write a plugin.
In the examples, you show how to implement IDatastoreBackend but I want to override
Edit:
Actually I just found this:
https://github.com/ckan/ckan/blob/master/ckan/authz.py#L74
Seems like having 2 plugins override the same auth function will raise an error.
torfsen and ggcatu