I am attempting to use plugin_wiki with an app I have been developing but am encountering a problem. The application itself uses CRUD and I have integrated CRUD with auth by adding the line crud.settings.auth = auth in my model.
Unfortunately when I attempt to use plugin_wiki to edit pages I get a not authorized error message. It will create the page but not let me edit. If I remove the crud.settings.auth = auth line plugin_wiki works correctly. But I need that settings so that auth is enforced on my various CRUD forms. I was wondering if there is some configuration option or something that I am missing that will allow plugin_wiki to work when CRUD is integrated with auth? From a brief look at the code it does not appear to be the case. If not is there any suggestions of how I can make this work together? My initial thought was just to add the permissions to the table in question. I tried to do this from my model file but that does not work. I assume it is because the plugin has not defined the tables before my model is executed. I would like to avoid modify the plugin itself as it would be nice to be able to use the latest version without having to modify it each time. I tried both the plugin_wiki from the online documentation and the latest source from the cube2py project just in case this had been addressed but neither worked. I appreciate any guidance, this is my first web application and my first python application so please forgive any obvious things I missed.