[Rt-commit] rt branch, 4.0/clean-lifecycle-rights, created. rt-4.0.1rc1-13-g658472d
Alex Vandiver
alexmv at bestpractical.com
Wed Jun 8 14:51:28 EDT 2011
The branch, 4.0/clean-lifecycle-rights has been created
at 658472da2cc6611c9f5d389d6caaea73c9766a7d (commit)
- Log -----------------------------------------------------------------
commit ceaf7d710761bed721b94c0958938d948fb25e2b
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Wed Jun 8 14:47:07 2011 -0400
Remove duplicated line in example
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 1bbca11..197e62a 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2176,7 +2176,6 @@ Use the following format to define labels and actions of transitions:
default => {
...
- actions => {
actions => [
'new -> open' => { label => 'Open it', update => 'Respond' },
'new -> resolved' => { label => 'Resolve', update => 'Comment' },
commit 680d9ee660a083e0a0216e75cec4c2e972bb7d4a
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Wed Jun 8 14:49:17 2011 -0400
Remove mention of ModifyTicketStatus from example, and right that does nothing
The right originally came from when Lifecycles did more of an overhaul
of the rights system, but not all pieces were backed out when it was
changed to be more 3.8-ish.
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 197e62a..d4b29c9 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2137,7 +2137,7 @@ For example:
rights => {
'* -> deleted' => 'DeleteTicket',
'* -> rejected' => 'RejectTicket',
- '* -> *' => 'ModifyTicketStatus',
+ '* -> *' => 'ModifyTicket',
},
...
},
diff --git a/lib/RT/Queue.pm b/lib/RT/Queue.pm
index 4d55515..f08518a 100644
--- a/lib/RT/Queue.pm
+++ b/lib/RT/Queue.pm
@@ -146,7 +146,6 @@ our $RIGHT_CATEGORIES = {
CommentOnTicket => 'General',
OwnTicket => 'Staff',
ModifyTicket => 'Staff',
- ModifyTicketStatus => 'Staff',
DeleteTicket => 'Staff',
RejectTicket => 'Staff',
TakeTicket => 'Staff',
commit 658472da2cc6611c9f5d389d6caaea73c9766a7d
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Wed Jun 8 14:50:12 2011 -0400
Remove mention of RejectTicket from example, and right that does nothing
The right originally came from when Lifecycles did more of an overhaul of the rights system, but not all pieces were backed out when it was changed to be more 3.8-ish.
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index d4b29c9..8040cbb 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -2136,7 +2136,6 @@ For example:
...
rights => {
'* -> deleted' => 'DeleteTicket',
- '* -> rejected' => 'RejectTicket',
'* -> *' => 'ModifyTicket',
},
...
@@ -2253,7 +2252,6 @@ Set(%Lifecycles,
},
rights => {
'* -> deleted' => 'DeleteTicket',
- '* -> rejected' => 'ModifyTicket',
'* -> *' => 'ModifyTicket',
},
actions => [
diff --git a/lib/RT/Queue.pm b/lib/RT/Queue.pm
index f08518a..7414980 100644
--- a/lib/RT/Queue.pm
+++ b/lib/RT/Queue.pm
@@ -116,7 +116,6 @@ our $RIGHTS = {
ModifyTicket => 'Modify tickets', # loc_pair
ModifyTicketStatus => 'Modify ticket status', # loc_pair
DeleteTicket => 'Delete tickets', # loc_pair
- RejectTicket => 'Reject tickets', # loc_pair
TakeTicket => 'Take tickets', # loc_pair
StealTicket => 'Steal tickets', # loc_pair
@@ -147,7 +146,6 @@ our $RIGHT_CATEGORIES = {
OwnTicket => 'Staff',
ModifyTicket => 'Staff',
DeleteTicket => 'Staff',
- RejectTicket => 'Staff',
TakeTicket => 'Staff',
StealTicket => 'Staff',
ForwardMessage => 'Staff',
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list