- Support and Development 5 7 taiwi
Newbie

GroupMembers
Posts 7
Joined Feb 20, 2010
I find the problem i create an new User group and that is the reason why everybody can see all domains.. When i using the pre-installed grup "User" and change the permission that this group also can add Domains then is like you say....
So i think it is better not ask in the Script func/main.php
That the User is in the Group "User" Better is to Ask that the User is not in the Group "Administrator" or "Domain Administrator". Then the function also working if you add additional groups.
Thanks
Oli.
Posted Feb 24, 2010, 5:48 pm
So i think it is better not ask in the Script func/main.php
if ($this->user['user_group'] == USER_MEMBER)
That the User is in the Group "User" Better is to Ask that the User is not in the Group "Administrator" or "Domain Administrator". Then the function also working if you add additional groups.
Thanks
Oli.
Posted Feb 24, 2010, 5:48 pm
Newbie

GroupMembers
Posts 7
Joined Feb 20, 2010
Hi,
i have optimize a little bit the code then the User also can use the search function:
Just change in func/main.php
with this (forget the previous post):
Thanks
Oli
Posted Feb 21, 2010, 7:35 am
i have optimize a little bit the code then the User also can use the search function:
Just change in func/main.php
if ($this->user['user_group'] == USER_MEMBER) {
if ($check)
$sql .= " AND z.owner=$id";
else
$sql .= " WHERE z.owner=$id";
}
with this (forget the previous post):
if ($id != '2') {
if ($check)
$sql .= " AND z.owner=$id";
else
$sql .= " WHERE z.owner=$id";
}
Thanks
Oli
Posted Feb 21, 2010, 7:35 am
Newbie

GroupMembers
Posts 7
Joined Feb 20, 2010
Hi,
I make a quick fix that Users only can see their own domains:
in func/main.php
add after
so after line 76 this
Then the User only see their own Domains... And the Admin here $id != '2' see all domains..
Not perfect but first helps..
Regards
Oli
Posted Feb 20, 2010, 11:38 pm
I make a quick fix that Users only can see their own domains:
in func/main.php
add after
if ($this->user['user_group'] == USER_MEMBER) {
if ($check)
$sql .= " AND z.owner=$id";
else
$sql .= " WHERE z.owner=$id";
}
so after line 76 this
if ($id != '2'){
$sql .= " WHERE z.owner=$id";
}
Then the User only see their own Domains... And the Admin here $id != '2' see all domains..
Not perfect but first helps..
Regards
Oli
Posted Feb 20, 2010, 11:38 pm
Newbie

GroupMembers
Posts 7
Joined Feb 20, 2010
I' am sure the User is not in the Domain Administrator group...
I only wounder that the User can see all Domains own by admin..
Edit he can not "You are not permitted to edit domains you do not own."...
But i think not all the User need to know which domains are all on the server because when the User login he can see all. He can not edit but he see and this i think is not good.
Thanks
Oli
Posted Feb 20, 2010, 9:37 pm
I only wounder that the User can see all Domains own by admin..
Edit he can not "You are not permitted to edit domains you do not own."...
But i think not all the User need to know which domains are all on the server because when the User login he can see all. He can not edit but he see and this i think is not good.
Thanks
Oli
Posted Feb 20, 2010, 9:37 pm
Newbie

GroupMembers
Posts 7
Joined Feb 20, 2010
Hello, i just wonder that the User who can add Domains can see all domains on the DNS Server..
I have over 3500 Domain owned by admin. Now i have add a normal User who
- Can view the index page.
- Can access PDNS-Admin. Should never be unchecked!
- Can create new domains.
all other option are unchecked..
But when he now login he see the complete Domain Listing of the Server also when he click on "Your Console" he see all Domains actually own by admin.. This must be wrong i think...
He should only see the Domains owned by him, or not...
Regards
Oli
Posted Feb 20, 2010, 1:24 pm
I have over 3500 Domain owned by admin. Now i have add a normal User who
- Can view the index page.
- Can access PDNS-Admin. Should never be unchecked!
- Can create new domains.
all other option are unchecked..
But when he now login he see the complete Domain Listing of the Server also when he click on "Your Console" he see all Domains actually own by admin.. This must be wrong i think...
He should only see the Domains owned by him, or not...
Regards
Oli
Posted Feb 20, 2010, 1:24 pm
- Feature Requests 1 1 taiwi
Newbie

GroupMembers
Posts 7
Joined Feb 20, 2010
It will be nice if when add a new user that he can have different settings for primary, secondary etc. Nameserver. Because other User often using virtuell Nameserver so that the SOA reflecting this and when the user add a Domain and click add Standard NS also will using the user settings not the admin settings..
Cheers
Oli
Posted Feb 21, 2010, 12:39 am
Cheers
Oli
Posted Feb 21, 2010, 12:39 am
- Support and Development 1 3 taiwi
Newbie

GroupMembers
Posts 7
Joined Feb 20, 2010
Hi,
i have a litte bit stupid question but i can't get it running with PDNS-ADMIN.
I want to setup propper PTR Record for the IP 82.91.86.34 to srv1.something.com .
So i setup a Create a new Reverse Domain
86.91.82.in-addr.arpa
Then i set a new record to
34.86.91.82.in-addr.arpa
PTR
srv1.something.com
but the lookup fail... and not result..
Can somebody explain to me step by step how to setup PTR for and IP ... Will be very nice because with poweradmin i get it run.. But i want use PDNS-Admin because looks more nice and is very fast and nice...
Hope somebody can help..
Oli
Posted Feb 20, 2010, 10:03 am
i have a litte bit stupid question but i can't get it running with PDNS-ADMIN.
I want to setup propper PTR Record for the IP 82.91.86.34 to srv1.something.com .
So i setup a Create a new Reverse Domain
86.91.82.in-addr.arpa
Then i set a new record to
34.86.91.82.in-addr.arpa
PTR
srv1.something.com
but the lookup fail... and not result..
Can somebody explain to me step by step how to setup PTR for and IP ... Will be very nice because with poweradmin i get it run.. But i want use PDNS-Admin because looks more nice and is very fast and nice...
Hope somebody can help..
Oli
Posted Feb 20, 2010, 10:03 am
<< prev 1 next >>

