How Can I Manually Add a Group Admin

Ask all your questions regarding OC 5.x Please read the Support Forum Rules
Forum rules
Before you post; make sure you are using at least PHP Version 5.3.x - Also read How To Solve Problems By Yourself

How Can I Manually Add a Group Admin

Postby toddwalsh » Wed Sep 11, 2013 11:15 pm

Hello - i accidently removed my group admin privileges and now I don't have a user with group admin privileges. Is there a way I can manually give group admin privileges to a user? I just setup and started using OwnCloud 5.x on a Linux PC. Thank you!
toddwalsh
Newbie
 
Posts: 3
Joined: Wed Sep 11, 2013 11:06 pm
ownCloud version: 5.0.3
Webserver: Apache
Database: SQLite
OS: Linux
PHP version: 5.3.10

Re: How Can I Manually Add a Group Admin

Postby Rancor » Thu Sep 12, 2013 8:00 am

Hi,

there is a table called:

oc_group_admin

in your database where you can set an user manually as an group addmin with a tool like phpmyadmin or MySQL Workbench. The syntax of the table is easy, you need to add the Name of the Group (from the oc_groups table) into the gid field and the Name of the user to the uid field.
*mostly inactive*
Rancor
OwnCloud master
 
Posts: 7390
Joined: Sat May 26, 2012 2:00 pm
ownCloud version: 6.0.3
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.5.x

Re: How Can I Manually Add a Group Admin

Postby RandolphCarter » Thu Sep 12, 2013 6:34 pm

Actually, you shouldn't need to manually fiddle around with anything - there should still be the administrative account you created at setup time, with that you should be able to change any user to be group admin again.
That admin rights derive from the user being part of the "admin" group as far as I know...
RandolphCarter
Inventory
 
Posts: 3933
Joined: Wed May 30, 2012 7:42 am
ownCloud version: 6.0.2
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.5.x

Re: How Can I Manually Add a Group Admin

Postby toddwalsh » Tue Nov 05, 2013 12:31 am

Thank you. Everything works great and setting up MYSQL workbench definitely helps.
toddwalsh
Newbie
 
Posts: 3
Joined: Wed Sep 11, 2013 11:06 pm
ownCloud version: 5.0.3
Webserver: Apache
Database: SQLite
OS: Linux
PHP version: 5.3.10


Return to ownCloud Community Edition 5.x

Who is online

Users browsing this forum: Bing [Bot] and 15 guests