1 class GroupsController < ApplicationController
3 @groups = Group.limit(10000).all
4 @group_uuids = @groups.collect &:uuid
5 @owned_users = User.where owner_uuid: @group_uuids
6 @links_from = Link.where link_class: 'permission', tail_uuid: @group_uuids
7 @links_to = Link.where link_class: 'permission', head_uuid: @group_uuids