Added restriction to revoke permissions