Yii 1.1: yii-user-management

Yii User Management Module
167 followers

This is a modular User Management Module for easy integration in your Yii Framework Web Application.

It has the following features:

* An automated Installer
* User Administration
* Role Administration
* Permission System with a mixture of RBAC and ACL (see docs)
* Profiles & Profile history & Profile Comments & Profile Fields Administration
* Messaging System (send/receive Messages between Users) Submodule
* User groups (user can add new groups, other users can join)
* User Avatar upload
* User Registration
* Password Recovery
* Friendship system
* Mailing component (users can choose which messages he gets by email)
* Base Language: English 
* Complete Translations to german, french
* Almost complete Translation to spain thanks to bigchirv@gmail.com
* Incomplete Translations to russian and polish

What it is not:

* A complex RBAC like srbac. However, it is possible to use srbac together with the User Management Module without problems. The contributed Permission System may be powerful enough for your Web Application, just give it a try.

Community

Yii-user-management is hosted at github: github.com/thyseus/yii-user-management

Donations are possible by bitcoin: 1AzhCYHrX7c7exBB89qfhbEvUaW6RThB1E

Documentation

Requirements

  • minimum of Yii 1.1.8 since DAO caching techniques are used

Installation

  • Extract the release file under protected/modules
  • Read docs/Install_tutorial.txt

  • Enjoy

Total 20 comments

#16187 report it
Vankata at 2014/01/27 04:29am
is it possible ban user by ip address?

is it possible ban user by ip address? And how implement this option?

#16047 report it
ziii at 2014/01/14 10:43am
How do you change redirectUrl after successfull login

Am trying to redirect user to a new controller but the module is set to redirect to site/index i have change all the parameters in the UserModule for redirection but still nothing happens

#15563 report it
zabaleta10 at 2013/11/21 10:17am
errror 404

where is tutorial ? i was follow installation instruction in folder docs

result is error 404

how to resolve ?

#15103 report it
logos010 at 2013/10/07 11:52pm
How to allow controller without login

Hi, can YUM allow me to config a controller/action that allow me to access without auth, because I wana run a crontab, but the code is inside the YumUserController, can I do that, everytime I execute that action without login?

#15072 report it
darioo at 2013/10/04 05:22pm
Module vs core user

I'm using yii-user module. And one thing that is not quite understandable to me is UserIdentity.php When I call

Yii::app()->user->getId()

I get the right user ID. Before this module I used core way of logging in. and with the same code I got the right user ID. But what bugging me is: why now that code takes information from module (I removed old way of logging in). It is the same line of code and it knows that it has to use module. Is it because UserIdentity extends CUserIdentity which is part of yii core?

#14950 report it
johnsnails at 2013/09/24 12:37am
Issue with create / update of user / role etc

Hey,

Every thing seems to be fine in terms of viewing the default info, but cannot update or create new users/roles etc. Page is not loading properly, anyone see anything like this?Role Create Error

I have also tried with an earlier version of the Yii framework, but seems to have the same issue.

As noted further down this page there is at least one fairly obvious error. With the spelling of the word echo. http://www.yiiframework.com/extension/yii-user-management/#c12667

#14884 report it
yiibeginer at 2013/09/18 06:36am
Caching not working

Resolved:

I had added "cache" under "user" but now added under "components" section and it's working fine.

6.) Make sure to set a caching component in your application components section. Yum relies on it. If you do not want to use a cache, add

'components' => array(
        'cache' => array('class' => 'system.caching.CDummyCache'),

inside the components section of your config/main.php.

I am following to this step and stuck with lots or error

Property "YumWebUser.cache" is not defined.__

I have set 'cache' => array('class' => 'system.caching.CDummyCache') in config/main.php file as stated in install_tutorial.txt file but could not succeeded.

Can anybody help me for this?

#14591 report it
Sanjeev at 2013/08/26 08:56am
Not work for me

Hi,thank's for reference but as i want it's don't work....here no any where define how to use translation table in translation or convert multiple language site.? If any reference or guide for same then please let me know.

#14473 report it
haryanto at 2013/08/14 10:45pm
Read docs/Install_tutorial.txt?

Hai jhejhekukuzaizai, you can find it on C:\xampp\htdocs\app_name\protected\modules\user\docs

#14058 report it
jhejhekukuzaizai at 2013/07/16 03:51am
Read docs/Install_tutorial.txt?

Where is it? Where can i find that installation tutorial?

#14029 report it
PrplHaz4 at 2013/07/12 11:34am
Allowing Multiple Social Associations

The common pattern for using social login is to allow users to use multiple providers for authentication - which should have a separate table for storing associations.

This would be the table that login should reference as well, by provider and provider_identifier - to avoid the security issue identified by @Ne0nx3r0.

See hybridauth yii-ext for an example.

#14024 report it
thyseus at 2013/07/12 08:54am
@Ne0nx3r0

Thanks for reporting this critical security problem! I will fix it as soon as possible !

#14023 report it
Ne0nx3r0 at 2013/07/12 08:45am
Bug with using HybridAuth

Because the HybridAuth adapter (specifically the getUser method in YumAuthController.php) only accounts for the username as determined by the OpenID provider's data, there seems to be a bug where a user could find an existing account (say, 'admin') and register themselves at an OpenID provider in such a way that the username included in the OpenID response is 'admin'.

The user will then be logged in as admin.

This is even worse if custom OpenID providers are allowed, because they could just setup their own and claim any username.

I believe the fix would be to include the provider's name and the unique identifier in the user table, and verify using this rather than a generated username.

#13939 report it
Diptesh Patel at 2013/07/08 10:37am
stucked on this Please activate the registration submodule in your config/main.php....

Guys I have installed User management module ..

And stucked on this message ..

Error : 401

"Please activate the registration submodule in your config/main.php. See the installation instructions or registration/RegistrationModule.php for details"

What to do next??

Please Help....

#13909 report it
petiar at 2013/07/05 07:35am
User groups

Is at possible to assign permissions to groups?

#13553 report it
michaelGregoire at 2013/06/05 02:11pm
Extremely buggy

This is a very buggy extension, even when following the install tutorial to the T. Steer clear until the developer shows clear intentions to give it an overhaul. The fact alone that he uses short php tags should tell you something.

#13420 report it
Rats at 2013/05/28 12:00pm
installation error

Tried installing the module multiple times/ways..fresh as well as in existing app. No luck still get same error

Alias "user.UserModule" is invalid. Make sure it points to an existing PHP file and the file is readable.

updated the short tag in php ini as well ..no luck.any solution?

#13334 report it
jneto at 2013/05/22 01:27pm
Solved : Fatal error: Call to a member function get() on a non-object.

Solved with install_tutorial (8)

8.) Make sure to set a caching component. Yum relies on it. If you do not want to cache, add 'components' => array( 'cache' => array('class' => 'system.caching.CDummyCache'),

to your config/main.php.

#12973 report it
Shahzad Thathal at 2013/04/24 02:35pm
Fatal error: Call to a member function get() on a non-object.

Hi there, Successfully installed yii user module but when click on login, http://localhost/yii_user_management/index.php/user/auth/login

Give this error,

Fatal error: Call to a member function get() on a non-object in D:\wamp\www\yii_user_management\protected\modules\user\models\YumUser.php

on line 374 and at line 374 this code:

$relations = Yii::app()->cache->get('yum_user_relations');

How can I fix this error?

#12836 report it
Deepan at 2013/04/15 08:51am
Facebook login

is there any pacth to integrate facebook login to yum

Leave a comment

Please to leave your comment.

Create extension