Swc-1889: rewrite access restriction ui

maybe move to clear