Implemented getting plan permissions