get permissions from JSON file and e2e testing