[rt-devel] Sorting rights in SelectRights

Jesse Vincent jesse at bestpractical.com
Thu Jan 10 16:14:49 EST 2002


Haven't really had time to look at it. Sorry :/


On Thu, Jan 10, 2002 at 11:37:45AM -0800, Peter E. Popovich wrote:
> Having gotten no comments, I'm wondering if this would be welcomed as a
> patch.
> 
> ----- Original Message -----
> From: "Peter E. Popovich" <peter at popovich.net>
> To: <rt-devel at lists.fsck.com>
> Sent: Monday, January 07, 2002 6:25 PM
> Subject: [rt-devel] Sorting rights in SelectRights
> 
> 
> > Dunno if anyone else gets tired of looking at the default ordering of
> > assigned rights in Admin/Queues/UserRights.html et. al., but I did.
> >
> > Comments welcome.
> >
> > # diff ./rt2/WebRT/html/Admin/Elements/SelectRights*
> > 17,18c17,19
> > < % foreach $right (sort keys %RightIds) {
> > < <input type=checkbox value="<%$RightIds{$right}%>" name="RevokeACE">
> > <%$right%><br>
> > ---
> > > % while (my $right = $ACLObj->Next()) {
> > > % if ($right->RightName) {
> > > <input type=checkbox value="<%$right->Id%>" name="RevokeACE">
> > <%$right->RightName%><br>
> > 19a21
> > > %  }
> > 24c26
> > <     my ($right, $ACLDesc, $AppliesTo, %Rights, %RightIds);
> > ---
> > >     my ($right, $ACLDesc, $AppliesTo, %Rights);
> > 49,54d50
> > <
> > <     while (my $right = $ACLObj->Next()) {
> > <       if ($right->RightName) {
> > <         $RightIds{$right->RightName}=$right->Id;
> > <       }
> > <     }
> >
> >
> > _______________________________________________
> > rt-devel mailing list
> > rt-devel at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-devel
> >
> 
> 
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the Rt-devel mailing list