Permission check before add component to local repository