Revert "Add permission interface.."

This reverts commit 22857944fbe562d7cadf838196c2d0c42a807597.