From 0f678a2add91ccb914beb07bad0d9675bf246d9c Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Tue, 6 Aug 2013 23:04:24 +0300 Subject: [PATCH] auth models --- ipf/auth/app.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ipf/auth/app.php b/ipf/auth/app.php index 9e064e5..a727b07 100644 --- a/ipf/auth/app.php +++ b/ipf/auth/app.php @@ -5,7 +5,18 @@ class IPF_Auth_App extends IPF_Application public function __construct() { parent::__construct(array( - 'models' => self::ArePermissionsEnabled() ? array('User', 'Role') : array('User'), + 'models' => self::ArePermissionsEnabled() + ? array( + 'User', + 'Role', + 'Permission', + 'UserPermission', + 'RolePermission', + 'UserRole', + ) + : array( + 'User', + ), )); } -- 2.49.0