[Bps-public-commit] rt-extension-rightsdebugger branch, master, updated. 43f41a34d137b25cb71927352e07b564586f9fc5
Shawn Moore
shawn at bestpractical.com
Thu Mar 16 14:35:40 EDT 2017
The branch, master has been updated
via 43f41a34d137b25cb71927352e07b564586f9fc5 (commit)
from 39dd802256ab79c394966156be2f0afd1fc7fe56 (commit)
Summary of changes:
lib/RT/Extension/RightsDebugger.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 43f41a34d137b25cb71927352e07b564586f9fc5
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Thu Mar 16 18:35:32 2017 +0000
Handle autoload-implemented Disabled checks
diff --git a/lib/RT/Extension/RightsDebugger.pm b/lib/RT/Extension/RightsDebugger.pm
index 9761e6a..9928ab5 100644
--- a/lib/RT/Extension/RightsDebugger.pm
+++ b/lib/RT/Extension/RightsDebugger.pm
@@ -710,7 +710,7 @@ sub DisabledForRecord {
my $self = shift;
my $record = shift;
- if ($record->can('Disabled')) {
+ if ($record->can('Disabled') || $record->_Accessible('Disabled')) {
return $record->Disabled;
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list