NS records as a non super user

0 views
Skip to first unread message

strerror

unread,
Dec 31, 2007, 7:13:20 AM12/31/07
to webdns-support
I've just modified the conf.php and changed the default to the
following:

$conf['allowedRecordTypes'] = array('A', 'CNAME', 'MX', 'TXT', 'NS');
$conf['superRecordTypes'] = array('PTR', 'AAAA');

As an admin/normal user I get the NS record type as an option in the
drop down when adding a record, however, when I click on this and
click next, it takes me back to the overview and i get an error "Your
account is not able to create that type of record.". What else do I
need to do to fix this so that users (I'd prefer just group admins but
whatever) can make ns records?

thanks

strerror

unread,
Dec 31, 2007, 7:16:32 AM12/31/07
to webdns-support
The fix was to remove the NS variable in line 156 of zones.php. Can
anyone tell me if doing that is a bad idea ?

John Morrissey

unread,
Jan 1, 2008, 12:08:28 PM1/1/08
to webdns-...@googlegroups.com
On Mon, Dec 31, 2007 at 04:16:32AM -0800, strerror wrote:
> The fix was to remove the NS variable in line 156 of zones.php. Can
> anyone tell me if doing that is a bad idea ?

That hunk of code should be checking against $conf['superRecordTypes']
instead of a hard-coded array; this has been fixed in r124. Thanks for
letting us know.

john
--
John Morrissey _o /\ ---- __o
j...@horde.net _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__

Reply all
Reply to author
Forward
0 new messages