Yii Framework Forum: Auth Extension For Different Module With Different Logins - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Auth Extension For Different Module With Different Logins Rate Topic: -----

#1 User is offline   Nisanth thulasi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 10-July 12
  • Location:Kochi

Posted 12 February 2013 - 12:57 AM

Hi

i have an application with two modules

1)staff
2)admin

ie:

1)aplication/protected/modules/admin
2)aplication/protected/modules/staff
application is client 






The default section is client area, on these three area they have individual logins with the same table. so what are the changes need to integrate the auth extension to my application
Thanks
Nisanth Thulasi
0

#2 User is offline   Rajith R 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 865
  • Joined: 20-April 11
  • Location:India

Posted 01 March 2013 - 04:21 AM

View PostNisanth thulasi, on 12 February 2013 - 12:57 AM, said:

Hi

i have an application with two modules

1)staff
2)admin

ie:

1)aplication/protected/modules/admin
2)aplication/protected/modules/staff
application is client 






The default section is client area, on these three area they have individual logins with the same table. so what are the changes need to integrate the auth extension to my application



You can use backend/frontend application structure.

or

you can manage your need with yii-user and rights module . by creating roles in rights and access to roles.
Rajith Ramachandran,
Wiwo inc.
| Mobile: 919995504508
1

#3 User is offline   Chris83 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 440
  • Joined: 27-February 10
  • Location:Helsinki, Finland

Posted 07 April 2013 - 01:22 PM

Hey,

You can use a similar application structure as this site, here's a wiki article about it:
http://www.yiiframework.com/wiki/155/

If you need auth for both the frontend and backend you can place it under common/modules and configure it for both ends.

I hope this helps.
Best regards,
Chris

My contribution to the Yii community:
Account | Yiistrap | Auth | Bootstrap | NordCms | Rights | LESS | SEO | Img

Follow me:
Twitter | GitHub | Bitbucket
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users