Populate groups in permissions input element.