tingobol / yii-rights

Automatically exported from code.google.com/p/yii-rights
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

user.id user.username #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The module uses the username for some operations and the id for others, and 
that compromises the working of the module.
Ideally it should only use the username, mostly for a question of readability.
I have quickly solved the issue adding 'userIdColumn'=>'username' to the 
configuration in my main.php configuration file.

Original issue reported on code.google.com by andrea.p...@yahoo.com on 14 Sep 2010 at 9:36

GoogleCodeExporter commented 9 years ago
This a very good point, I'll take a look at this if I can remove the id 
completely. Thanks for pointing this out!

Original comment by cni...@live.com on 15 Sep 2010 at 12:38

GoogleCodeExporter commented 9 years ago
I haven't had time to look at this but I will once I have time.

Original comment by cni...@live.com on 3 Oct 2010 at 9:41

GoogleCodeExporter commented 9 years ago
I haven't had time to look at this but I will once I have time.

Original comment by cni...@live.com on 3 Oct 2010 at 9:41

GoogleCodeExporter commented 9 years ago
The id cannot be removed because it is needed to assign permissions. Issue 
rejected.

Original comment by cni...@live.com on 27 Oct 2010 at 5:52