[Rt-commit] rt branch, admin_ui, updated. 75ba12a26b33bf05cea16f351d2b1f06d5b67f23
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Dec 22 03:30:30 EST 2009
The branch, admin_ui has been updated
via 75ba12a26b33bf05cea16f351d2b1f06d5b67f23 (commit)
from 033ba89b011e628bc87ad8878abb9bfd47d33b64 (commit)
Summary of changes:
lib/RT/Model/User.pm | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 75ba12a26b33bf05cea16f351d2b1f06d5b67f23
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 22 16:30:20 2009 +0800
tell ACE that User object can get acls granted
diff --git a/lib/RT/Model/User.pm b/lib/RT/Model/User.pm
index 5c3a958..9abcc87 100755
--- a/lib/RT/Model/User.pm
+++ b/lib/RT/Model/User.pm
@@ -51,6 +51,9 @@ use warnings;
package RT::Model::User;
use base qw/RT::IsPrincipal::HasNoMembers RT::Record/;
+# Tell RT::Model::ACE that this sort of object can get acls granted
+$RT::Model::ACE::OBJECT_TYPES{'RT::Model::User'} = 1;
+
=head1 NAME
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list