add permission management

Change-Id: I4c9b851440fe1ecdfe4302dae36360236767d869