add store to get permission of page or menu by name/id