Hi Genis,

In data lunedì, 23 luglio 2012 16.07:11, Genis Musulmanbekov ha scritto:
> Entering 'Adminstration' page I see the following menu:
> SEARCH        SUBMIT  PERSONALIZE             HELP
> 
> But in v1.0.0 there should be
> SEARCH        SUBMIT  PERSONALIZE             HELP    ADMINISTRATION
> 
> So we can't select from 'ADMINISTRATION'-submenu  'Configure ...' and 'Run
> ...' 

This looks more of an authorization check issue. Have you correctly run the db 
upgrade steps:

make update-v0.99.5-tables

In particular you might want to re-execute:

$ echo -e 'from invenio.access_control_firerole import repair_role_definitions; 
repair_role_definitions()' | python

which is part of that upgrade step.

It could be possible also that the admin user is somehow no longer connected 
with the superadmin role.
Have you by chance changed at the same time the value: CFG_SITE_ADMIN_EMAIL? If 
yes, have you re-run:

$ sudo -u apache /opt/invenio/bin/inveniocfg --reset-siteadminemail

To help you debugging this situation, can you paste the value of:

$ echo "select * from accROLE where name='superadmin'" | /opt/invenio/bin/dbexec
and
$ echo "select * from user_accROLE JOIN accROLE ON id_accROLE=id where 
name='superadmin'" | /opt/invenio/bin/dbexec
and
$ echo "select user.id,email,nickname from user JOIN user_accROLE ON 
user.id=id_user JOIN accROLE ON id_accROLE=accROLE.id where name='superadmin'" 
| /opt/invenio/bin/dbexec

Cheers,
        Samuele
-- 
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>

Reply via email to