User Authentication & Management
#1
Posted 07 October 2011 - 01:54 AM
#2
Posted 07 October 2011 - 09:52 AM
#4
Posted 18 October 2011 - 12:37 PM
Fork on github
Follow phundament on Twitter
DevSystem: Mac OS X 10.7 - PHP 5.3 - Apache2 - Yii 1.1 / trunk - Firefox or Safari
#6
Posted 19 October 2011 - 02:20 AM
Have a look at http://www.yiiframew...ons/?category=1 there are plenty of very good user and auth modules with GUI already:
http://www.yiiframew...nsion/yii-user/
http://www.yiiframew...ser-management/
http://www.yiiframew...tension/rights/
http://www.yiiframew...ion/usergroups/
http://www.yiiframew...xtension/srbac/
Just to name a few ...
Fork on github
Follow phundament on Twitter
DevSystem: Mac OS X 10.7 - PHP 5.3 - Apache2 - Yii 1.1 / trunk - Firefox or Safari
#7
Posted 19 October 2011 - 02:46 AM
schmunk, on 19 October 2011 - 02:20 AM, said:
http://www.yiiframew...nsion/yii-user/
http://www.yiiframew...ser-management/
http://www.yiiframew...tension/rights/
http://www.yiiframew...ion/usergroups/
http://www.yiiframew...xtension/srbac/
Maybe I have misunderstood his words but I think that samdark has already talked about them:
samdark said:
Further I think that, except the 2 first ones, these extensions are not a complete user authentication & management system (with user authentication, registration, verification, etc)
#8
Posted 21 October 2011 - 12:20 PM
#9
Posted 21 October 2011 - 12:33 PM
However:
I think it's a very good idea to request that the authors/maintainers of those extensions add a gii generator to - well - generate that.
We can't have it in Yii core, as it's totally dependent on whatever authentication system we're using.
#11
Posted 27 October 2011 - 09:05 AM
#12
Posted 27 October 2011 - 09:24 AM
Like, do not set only username => password in key value pairs, make an array structure like,
array(
1 => array(
'name' => 'admin',
'password' => 'secret',
'authItems' => array(
'Editor.*', 'Testitem'
)
)
)
Fork on github
Follow phundament on Twitter
DevSystem: Mac OS X 10.7 - PHP 5.3 - Apache2 - Yii 1.1 / trunk - Firefox or Safari
#13
Posted 02 November 2011 - 07:02 PM
There are many good 'user' modules out there, but how often are they updated, will they work with Yii 2, do they use best practices?
For such a common requirement, better to have it in core functionality so you can forget about it.
#14
Posted 06 November 2011 - 12:10 PM
From Wikipedia: "A Web 2.0 site allows users to interact and collaborate with each other in a social media dialogue as creators (prosumers) of user-generated content in a virtual community"
The core feature of what makes a website "2.0" (for the record I hate that term) are the users. Without some sort of official extension (Gii module, etc), it is lacking an extremely important aspect of making Web 2.0 website. Automatic CRUD generation + automatic RBAC (or some other form of user auth) generation would be great.
#15
Posted 14 November 2011 - 03:43 PM
skyer2000, on 06 November 2011 - 12:10 PM, said:
From Wikipedia: "A Web 2.0 site allows users to interact and collaborate with each other in a social media dialogue as creators (prosumers) of user-generated content in a virtual community"
The core feature of what makes a website "2.0" (for the record I hate that term) are the users. Without some sort of official extension (Gii module, etc), it is lacking an extremely important aspect of making Web 2.0 website. Automatic CRUD generation + automatic RBAC (or some other form of user auth) generation would be great.
Very good point and I do agree with adding a basic feature like this to the next release just to be able to jump start a project. Also of all those extensions mentioned above, the amount of bugs create more headaches then it solves.
#16
Posted 21 December 2011 - 03:31 PM
I'm currently working on a successor to my Rights extension. The reason for why I'm writing a new extension is to improve mainly the performance and usability and to correct some mistakes that were made when designing Rights.
Do the Yii team have any plans they would like to share about the future of Yii's authorization?
#17
Posted 22 December 2011 - 01:12 AM
#18
Posted 23 December 2011 - 01:09 PM
Tipugin, on 22 December 2011 - 01:12 AM, said:
Built-in authorization doesn't do any harm if it can be bypassed completely and easily. In case of Yii it's really easy: authorization component won't even be loaded if you don't call it explicitly (or implicitly, by access control filters).
Tipugin, on 22 December 2011 - 01:12 AM, said:
Can't agree more. Abstraction is not the biggest strength of current implementation (it works well in the majority of use cases, though) . When I need a highly customized solution, I have to implement it from scratch. IAuthManager interface makes a bit too much assumptions about implementation details.
#19
Posted 23 December 2011 - 03:06 PM
phtamas, on 23 December 2011 - 01:09 PM, said:
I totally agree. The current implementation doesn't give enough freedom and it feels like it was designed with a single solution in mind.

Help
This topic is locked
















