[otrs-cvs] ITSMChangeManagement/Kernel/Modules AgentITSMWorkOrderTemplate.pm, 1.14, 1.15 AgentITSMWorkOrderEdit.pm, 1.56, 1.57 AgentITSMWorkOrderDelete.pm, 1.14, 1.15 AgentITSMWorkOrderAgent.pm, 1.44, 1.45
"CVS commits notifications of OTRS.org" <[email protected]> Fri, 19 Apr 2013 13:44:51 +0000
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/ITSMChangeManagement/Kernel/Modules
In directory lancelot:/tmp/cvs-serv8547/Kernel/Modules
Modified Files:
AgentITSMWorkOrderTemplate.pm AgentITSMWorkOrderEdit.pm
AgentITSMWorkOrderDelete.pm AgentITSMWorkOrderAgent.pm
Log Message:
Improved permission handling for custom permission modules.
Author: ub
Index: AgentITSMWorkOrderTemplate.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/Modules/AgentITSMWorkOrderTemplate.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -2 -u -d -r1.14 -r1.15
--- AgentITSMWorkOrderTemplate.pm 26 Mar 2013 14:35:31 -0000 1.14
+++ AgentITSMWorkOrderTemplate.pm 19 Apr 2013 13:44:46 -0000 1.15
@@ -91,8 +91,9 @@
# check permissions
my $Access = $Self->{ChangeObject}->Permission(
- Type => $Self->{Config}->{Permission},
- Action => $Self->{Action},
- ChangeID => $WorkOrder->{ChangeID},
- UserID => $Self->{UserID},
+ Type => $Self->{Config}->{Permission},
+ Action => $Self->{Action},
+ ChangeID => $WorkOrder->{ChangeID},
+ WorkOrderID => $WorkOrderID,
+ UserID => $Self->{UserID},
);
Author: ub
Index: AgentITSMWorkOrderEdit.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/Modules/AgentITSMWorkOrderEdit.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -2 -u -d -r1.56 -r1.57
--- AgentITSMWorkOrderEdit.pm 26 Mar 2013 14:35:31 -0000 1.56
+++ AgentITSMWorkOrderEdit.pm 19 Apr 2013 13:44:46 -0000 1.57
@@ -88,8 +88,9 @@
# check permissions
my $Access = $Self->{ChangeObject}->Permission(
- Type => $Self->{Config}->{Permission},
- Action => $Self->{Action},
- ChangeID => $WorkOrder->{ChangeID},
- UserID => $Self->{UserID},
+ Type => $Self->{Config}->{Permission},
+ Action => $Self->{Action},
+ ChangeID => $WorkOrder->{ChangeID},
+ WorkOrderID => $WorkOrderID,
+ UserID => $Self->{UserID},
);
Author: ub
Index: AgentITSMWorkOrderDelete.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/Modules/AgentITSMWorkOrderDelete.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -2 -u -d -r1.14 -r1.15
--- AgentITSMWorkOrderDelete.pm 26 Mar 2013 14:35:31 -0000 1.14
+++ AgentITSMWorkOrderDelete.pm 19 Apr 2013 13:44:46 -0000 1.15
@@ -80,8 +80,9 @@
# check permissions
my $Access = $Self->{ChangeObject}->Permission(
- Type => $Self->{Config}->{Permission},
- Action => $Self->{Action},
- ChangeID => $WorkOrder->{ChangeID},
- UserID => $Self->{UserID},
+ Type => $Self->{Config}->{Permission},
+ Action => $Self->{Action},
+ ChangeID => $WorkOrder->{ChangeID},
+ WorkOrderID => $WorkOrderID,
+ UserID => $Self->{UserID},
);
Author: ub
Index: AgentITSMWorkOrderAgent.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/Modules/AgentITSMWorkOrderAgent.pm,v
retrieving revision 1.44
retrieving revision 1.45
diff -2 -u -d -r1.44 -r1.45
--- AgentITSMWorkOrderAgent.pm 26 Mar 2013 14:35:31 -0000 1.44
+++ AgentITSMWorkOrderAgent.pm 19 Apr 2013 13:44:46 -0000 1.45
@@ -78,8 +78,9 @@
# check permissions
my $Access = $Self->{ChangeObject}->Permission(
- Type => $Self->{Config}->{Permission},
- Action => $Self->{Action},
- ChangeID => $WorkOrder->{ChangeID},
- UserID => $Self->{UserID},
+ Type => $Self->{Config}->{Permission},
+ Action => $Self->{Action},
+ ChangeID => $WorkOrder->{ChangeID},
+ WorkOrderID => $WorkOrderID,
+ UserID => $Self->{UserID},
);
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log