Adding an additional administrator to OMP

Are you responsible for making OMP work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
rootl
Posts: 62
Joined: Wed Feb 20, 2013 7:17 am

Adding an additional administrator to OMP

Postby rootl » Fri Mar 01, 2013 6:58 am

I would like to add a second administrator to OMP.

I found information about doing this for OJS and OCS here: viewtopic.php?f=8&t=2899&p=10289&hilit=site+admin#p10289

But I know the table structure for OMP is different. Looking at the database and schema, it appears that I would need to add a row to the "user_groups table" with these fields: user_group_id, context_id, role_id, path(admin), is_default.

Please let me know what is needed to do this. Thanks.

JasonNugent
Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: Adding an additional administrator to OMP

Postby JasonNugent » Fri Mar 01, 2013 8:09 am

Hi rootl,

Actually, what you'd need to do is add an entry to user_user_groups. That's the table that maps user groups to users. There are only two columns -- the user_group_id, which will be '1' for the admin group, and the user_id of the user.

Regards,
Jason

rootl
Posts: 62
Joined: Wed Feb 20, 2013 7:17 am

Re: Adding an additional administrator to OMP

Postby rootl » Fri Mar 01, 2013 12:20 pm

Thank you for pointing me in the right direction. This works great!

mwood
Posts: 20
Joined: Thu Nov 01, 2007 8:06 am
Location: Indianapolis, Indiana, US

Re: Adding an additional administrator to OMP

Postby mwood » Fri Apr 19, 2013 12:38 pm

I'd like to suggest adding some UI to encapsulate this. It seems to me not at all abnormal for an organization to want multiple admin.s.

rootl
Posts: 62
Joined: Wed Feb 20, 2013 7:17 am

Re: Adding an additional administrator to OMP

Postby rootl » Mon Apr 22, 2013 5:31 am

mwood wrote:I'd like to suggest adding some UI to encapsulate this. It seems to me not at all abnormal for an organization to want multiple admin.s.


I agree completely. Most content management systems, bulletin boards, and LMS have this functionality built into the back end GUI.

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

Re: Adding an additional administrator to OMP

Postby asmecher » Mon Apr 22, 2013 8:23 am

Hi all,

I've filed this request at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8202 (against OJS, but it will also be ported to OMP when implemented). We've never viewed the Administrator role as a "regular use" role -- typically it's only used when doing something major, like installing the system or creating/removing a press -- which is why we haven't supported the creation of additional administrators before.

Regards,
Alec Smecher
Public Knowledge Project Team


Return to “OMP Technical Support”

Who is online

Users browsing this forum: No registered users and 0 guests