cleanup: remove unused $access_right var