thyseus / yii-user-management

a user management module collection for the yii framework
185 stars 122 forks source link

prefixed tables? #34

Closed triptec closed 12 years ago

triptec commented 12 years ago

I'm using this module but I find a lot of hardcoded sql querys in the user module like this one in model YumUser.php: $sql = "select id, action.title from permission left join action on action.id = permission.action where type = 'role' and principal_id = {$role->id}";

Hava I missed someting?

thyseus commented 12 years ago

No, there are indeed still some hardcoded sql queries. When using custom table names, customization is necessary.