Swc-1889: rewrite access restriction ui