first cut of grant/revoke permission function on network.