Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th February 2012, 18:30
anset anset is offline
Junior Member
 
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts
Question ISPConfig3 - Objects create with admin are imutable for clients

Hi,

I did some searching, but could not find an answer to my question. Please tell me and accept my apologies if this has been explained before.

I created some websites and mailboxes for a client. When I did this, I was logged in as admin. Now it turns out that the client is not able to change the properties of those objects.

I looked at the database and I notice that for those objects, the sys_userid is set to the admins id (1). I am assuming this is the reason that changes made by the client are (silently!) discarded.

The sys_groupid is set to the correct client ID. However even though for most of the objects, the sys_perm_group is set to "ru" (the "u" meaning "update"?) the changes are still being discarded.

Funnily, some of the objects have a group perm set to ruid, others only ru. I cannot see where I did something different, but in both cases, client updates are discarded if sys_userid = admin.


Anyway. If my assumptions above are correct, can I edit the database manualy and set the sys_userid = sys_groupid = the users id for the objects I want to change this?
Or will this "break stuff"?


I could remove the objects and recreate them, but that would be quit a bit of work (especially the DNS entries...)

The tables I am thinking about doing this to are:

mail_domain
mail_forwarding
mail_user
spamfilter_users
web_database
web_domain
web_folder
web_folder_user

So am I making a big mistake fooling around with the database, or is this a (relatively) safe operation?


Would it be a good suggestion to ask for a dropdown so that the admin user can set not only the "group" (this is the client dropdown) but also the "owner" of an object in the control panel forms? Or maybe a "customer may make changes" toggle button would be clearer?


Thank you for any information,

Anset
Reply With Quote
Sponsored Links
  #2  
Old 19th February 2012, 23:21
anset anset is offline
Junior Member
 
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts
Default

Well,

Being the impation sob that I am, I went ahead and did the deed and it looks like it works as expected.

Wkr,

Anset
Reply With Quote
  #3  
Old 20th February 2012, 09:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,576
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

What you described above is the admin protection feature in ispconfig which protects certain settings of objects (like websites and email domains) created by the admin from changes by the client, as most admins dont like if their client "accidently" delete their sites when they created them for the client. If you want to create objects as admin for your clients that can be deleted and fully modified by the client, then use the "Login as" function from the client module to switch from admin to the client login before you create the website or email domain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
anset (20th February 2012)
  #4  
Old 20th February 2012, 09:48
anset anset is offline
Junior Member
 
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts
 
Default

Hi,

Thank you for the clarification.

That is what i figured. In future I will use the login as system but i would have liked it to be possible to set everything up for a client using "admin" so it is protected and at a later date, when I have been able to teach the client how it works, hand everything over to him.

A simple toggle button (only available to "admin") should do the trick I think. But now I understand how it works and I can just make the changes manually.

Problem solved.

Wkr,

Anset
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3.. for the sake of clarity.. :-) I'm little bit confused :-) bajodel General 8 5th August 2009 09:24
Change/Disable Admin Name Create New roganlors Feature Requests 2 27th July 2008 16:42
Chroot SSH + ISPConfig Norman Installation/Configuration 27 26th March 2007 03:40
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 17:54


All times are GMT +2. The time now is 09:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.