Update getRights() function to cascade through parent rights when children rights is incomplete