Reverted to using non cached permissions check as cached version fails tests (and there are no clean way to make it pass)