[client][HatoholPriviledgeEditDialog] Add a new function applyPriviledges()