equal
deleted
inserted
replaced
253 'flags' => '' |
253 'flags' => '' |
254 ) |
254 ) |
255 ) |
255 ) |
256 ) |
256 ) |
257 ); |
257 ); |
|
258 |
|
259 // Tables from PowerDNS |
|
260 $grantTables = array('supermasters', 'domains', 'records'); |
|
261 // Include PowerAdmin tables |
|
262 foreach($def_tables as $table) { |
|
263 $grantTables[] = $table['table_name']; |
|
264 } |
258 |
265 |
259 $def_permissions = array( |
266 $def_permissions = array( |
260 array(41,'zone_master_add','User is allowed to add new master zones.'), |
267 array(41,'zone_master_add','User is allowed to add new master zones.'), |
261 array(42,'zone_slave_add','User is allowed to add new slave zones.'), |
268 array(42,'zone_slave_add','User is allowed to add new slave zones.'), |
262 array(43,'zone_content_view_own','User is allowed to see the content and meta data of zones he owns.'), |
269 array(43,'zone_content_view_own','User is allowed to see the content and meta data of zones he owns.'), |