operasoftware / dns-ui

Opera's LDAP-authenticated PowerDNS user interface
Apache License 2.0
282 stars 57 forks source link

Slave zones should be read-only in the UI #199

Open zi0r opened 1 year ago

zi0r commented 1 year ago

If you add a slave zone (using pdnsutil create-slave-zone...) the zone properly shows up in dns-ui; however, it displays the delete/add buttons, etc. Which could confuse a user into thinking that this might be an appropriate place to modify that zone.

For zones of type slave, these buttons should be disabled and dns-ui should not give any indications that it is allowed to try to modify any of the records for that zone.