Hi Ferran, In data martedì 10 dicembre 2013 13:32:24, Ferran Jorba ha scritto: > now that we are about to use a new set of websubmit forms, we've found > that we cannot access to the roles of the previous forms or the new > ones. So probably we may have this error since firerole was introduced > and maybe I skipped the step or so. > > From the admin/webaccess/webaccessadmin.py/, each of the entries I try > to access to produces an error and I get a mail that starts with: > > * 2013-12-10 13:15:20 -> KeyError: 'categ' > (access_control_admin.py:1522:acc_find_possible_actions) > > I've looked for messages like that in the mailing list archives and in > the invenio-software.org site and I haven't been able to find the > solution. I'm not familiar with this module (and no, I haven't patched > it at all). I have also run 'webaccessadmin -c', that gave a 'Compiled > firewall like role definitions', message but the error continunes. > > So at this moment we cannot use those forms unless we are superadmin.
the categ additional param was introduced in: [...] commit ecdd5009c9cc9db8f333e3193ee94d08b93a2227 Author: Samuele Kaplun <[email protected]> Date: Fri Nov 13 11:35:24 2009 +0100 WebAccess: added categ parameter to submit action * Improved WebSubmit and WebAccess to let the system administrator an option to configure submit authorizations based not only on doctype and act, but also on categ. (closes: #12297) [...] there was a migration kit at that time available in the form of the old update-v0.99.1-tables and it's still there, although now you would trigger it via $ make update-v0.99.8-tables Have you run that update part? Cheers! Sam -- Samuele Kaplun Invenio Developer ** <http://invenio-software.org/> INSPIRE Service Manager ** <http://inspirehep.net/> Interim SCOAP3 Repository Manager ** <http://scoap3repo.cern.ch/>
