How Can I Manually Add a Group Admin

Ask all your questions regarding OC 5.x Please read the Support Forum Rules
Forum rules
ownCloud 5.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.
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

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!

RealRancor
ownCloud master
Posts: 16901
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: How Can I Manually Add a Group Admin

Postby RealRancor » 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.
Report a bug? / Request a feature? / Developers contact/feedback? See: https://forum.owncloud.org/viewtopic.php?f=17&t=23696

User avatar
RandolphCarter
ownCloud master
Posts: 5134
Joined: Wed May 30, 2012 8:42 am
ownCloud version: 8.1.1
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.5.x

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...

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 toddwalsh » Tue Nov 05, 2013 1:31 am

Thank you. Everything works great and setting up MYSQL workbench definitely helps.


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 5.x and older”

Who is online

Users browsing this forum: No registered users and 8 guests