(no-ticket) Add permissions caching

Change-Id: I15632ec0813ad04f26133b01a21fb063dc94b4c2