Revert: add permission manager

Change-Id: Ibe511670cdf5a3b95e8387926eca95336f018924