[freeside-commits] freeside/FS/FS TicketSystem.pm,1.9,1.10
Mark Wells
mark at wavetail.420.am
Fri Jul 15 19:47:21 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv9673/FS/FS
Modified Files:
TicketSystem.pm
Log Message:
grant all needed rights to fs_selfservice, #13199
Index: TicketSystem.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/TicketSystem.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- TicketSystem.pm 8 Jul 2011 22:17:29 -0000 1.9
+++ TicketSystem.pm 16 Jul 2011 02:47:19 -0000 1.10
@@ -51,7 +51,8 @@
die $msg if !$val;
}
my $Principal = $User->PrincipalObj; # can this ever fail?
- my @rights = ( qw(ShowTicket SeeQueue ModifyTicket ReplyToTicket) );
+ my @rights = ( qw(ShowTicket SeeQueue ModifyTicket ReplyToTicket
+ CreateTicket SeeCustomField) );
foreach (@rights) {
next if $Principal->HasRight( 'Right' => $_, Object => $RT::System );
my ($val, $msg) = $Principal->GrantRight(
More information about the freeside-commits
mailing list