correct permissionCommand class to use interface instead of impl