How Can I Manually Add a Group Admin

Ask all your questions regarding OC 5.x Please read the Support Forum Rules
Forum rules
Version 5 is not supported anymore! Only security issues are fixed. Please upgrade your ownCloud.
Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting

How Can I Manually Add a Group Admin

Postby toddwalsh » Thu Sep 12, 2013 12:15 am

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: Thu Sep 12, 2013 12:06 am
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 ..... » Thu Sep 12, 2013 9: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.
*inactive*
.....
OwnCloud master
 
Posts: 8599
Joined: Sat May 26, 2012 3:00 pm

Re: How Can I Manually Add a Group Admin

Postby RandolphCarter » Thu Sep 12, 2013 7: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...
90 % of all forum questions could be solved if posters did what
90 % of those posting answers to their questions are doing: enter their question into google and read...

-- shamelessly copied/translated from user xxMuahdibxx in computerbase.de forums
RandolphCarter
Inventory
 
Posts: 4773
Joined: Wed May 30, 2012 8:42 am
ownCloud version: 7.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 1:31 am

Thank you. Everything works great and setting up MYSQL workbench definitely helps.
toddwalsh
Newbie
 
Posts: 3
Joined: Thu Sep 12, 2013 12:06 am
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 8 guests