Search code examples
administratordspace

Recover the privileges of the admin user of DSpace


Editing permissions of a collection, by mistake we have removed all the privileges of the admin user (currently only belongs to the Anonymous group). Is it possible to recover the privileges of this user? Or create a new administrator user with all permissions over all communities and collections? We use version 3.2 of DSpace.

Thanks!


Solution

  • This is a known issue in DSpace that is being tracked by the following ticket: https://jira.duraspace.org/browse/DS-2687

    You will need to re-create group 1.

    dspace=> insert into epersongroup values(1,'Administrator'); 
    INSERT 0 1 
    

    You can then use the .../bin/dspace create-administrator command to re-add users to that group.