[Rt-commit] [rtir] 05/05: Rename EveryoneBlockRights to EveryoneCountermeasureRights
Shawn Moore
shawn at bestpractical.com
Wed Feb 24 19:56:06 EST 2016
This is an automated email from the git hooks/post-receive script.
shawn pushed a commit to branch 3.4/countermeasures
in repository rtir.
commit caa29684768130fd9ad584425a9a6ef9f33afb62
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu Feb 25 00:55:54 2016 +0000
Rename EveryoneBlockRights to EveryoneCountermeasureRights
---
bin/add_constituency.in | 2 +-
etc/initialdata | 2 +-
lib/RT/IR.pm | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/add_constituency.in b/bin/add_constituency.in
index d3757b4..7204f1d 100755
--- a/bin/add_constituency.in
+++ b/bin/add_constituency.in
@@ -303,7 +303,7 @@ sub grant_role_queue_rights {
@rights = RT::IR->EveryoneInvestigationRights();
} elsif ( $queue->Lifecycle eq RT::IR->lifecycle_countermeasure ) {
- @rights = RT::IR->EveryoneBlockRights();
+ @rights = RT::IR->EveryoneCountermeasureRights();
}
# grant 'everyone' rights
for my $right (@rights) {
diff --git a/etc/initialdata b/etc/initialdata
index 9596d32..ee34d03 100644
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -529,7 +529,7 @@ push @ACL, map {
Queue => 'Countermeasures',
Right => $_
}
-} RT::IR->EveryoneBlockRights();
+} RT::IR->EveryoneCountermeasureRights();
push @ACL, (
{ GroupId => 'DutyTeam', # - principalId
diff --git a/lib/RT/IR.pm b/lib/RT/IR.pm
index 4cf8fdb..f43c90d 100644
--- a/lib/RT/IR.pm
+++ b/lib/RT/IR.pm
@@ -122,7 +122,7 @@ sub EveryoneIncidentRights {
return ();
}
-sub EveryoneBlockRights {
+sub EveryoneCountermeasureRights {
return (qw(ReplyToTicket));
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list