SaltDnsWeb. Console. Hooks
(Salt v1.0.0)
on_mount hooks of the console.
:load_org- for routes with anorg_id: loads the signed-in user's organisations and the current one. An organisation the user is not a member of is sent back to the chooser, as if it did not exist. Assigns:organisations,:organisation,:role,:admin?,:actor(forSaltDns.Access) and:audit_actor(forSaltDns.Zones).:load_zone- for routes with azonename: loads that zone of the current organisation (:zone), or goes back to the zone list.