Can you some how refactor the functionality in this method and use some of the stuff in  https://github.com/Katello/katello/blob/master/app/models/katello/authorization/organization.rb#L164 and https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/environments_controller.rb#L143

Or do you see this purely as a "UI " and nothing to do with the model construct ?? Wont hold this as a blocker but something for you to examine..