[Bps-public-commit] RT-Extension-MandatoryOnTransition branch, support-coreroles-and-customroles, repushed
Craig Kaiser
craig at bestpractical.com
Mon Feb 4 09:51:41 EST 2019
The branch support-coreroles-and-customroles was deleted and repushed:
was 58d8de272581c96391ded4febcb7fdb2d5ad804d
now 83fd70ae03355f8e63f6ef9cbc6c1ffe313236a5
1: 79207b3 = 1: 79207b3 Support customroles for mandatoryontransition conditions
2: 2d47a6b = 2: 2d47a6b Support all core role fields as mandatory on transition fields
3: a6be1ff ! 3: 6ff371e Support requiring a role to be a member of a group
@@ -51,7 +51,7 @@
+ RT::Logger->error("Could not load Custom role $role_name: $msg");
+ @roles = grep/$_ ne $role_name/, at roles;
+ next;
-+ } elsif ( not $cr->IsAdded($args{Ticket}->QueueObj->Id) ) {
++ } elsif ( not $cr->IsAdded($args{Ticket}->QueueObj->Id) or $cr->Disabled ) {
+ RT::Logger->error("Custom role $role_name is not applied to: " . $args{Ticket}->QueueObj->Name );
+ @roles = grep/$_ ne $role_name/, at roles;
+ next;
4: 92fb2f2 = 4: 273c7c4 Create test file for roles
5: 58d8de2 = 5: 83fd70a Update README and Changelog
More information about the Bps-public-commit
mailing list