Groups with rights
- Yes
Groups with rights
- {{velocity output="false"}}
#macro(getRows $uorg $clsname $filterMap $offset $limit $results $matchedCount)
#set($rows = [])
#set($results = $util.null)
#setVariable("$results" $rows)
#getUsersOrGroup($uorg $filterMap 0 0 $users $count)
#set($offlim = $offset + $limit)
#set($count = 0)
#foreach($user in $users)
#getRights($user $clsname $uorg $rights)
#if ($rights.allows.size() > 0 || $rights.denys.size() > 0)
#if ($count >= $offset && $count < $offlim)
#set ($discard = $rows.add($rights))
#end
#set ($count = $count + 1)
#end
#end
#set($matchedCount = $util.null)
#setVariable("$matchedCount" $count)
#end
{{/velocity}}