I’m looking for an authenticated system with namespaces and subdomains
support.
I want to make: admin.site.com, manager.site.com, etc
Every admin can have different roles, f.i. admin_a can list users,
admin_b can list, add and update, admin_c can list, add/update and
delete users.
I have studied Typo and Mephisto, but both of them doesn’t use
subdomains and namespaces. They have so complex routing files…
Actually I have lost in them.
Could you suggest a ready-to-use solution for this task?
I have tried 2 plugins: subdomain-fu + Restful authentication,
currently without any success.
If you have a working example for this issue - it will be highly
appreciated!
subdomain-fu
restful authentication (check out the bells and whistles version http://railsforum.com/viewtopic.php?id=14216)
role requirement (part of the above)
and then you make some before_filters to enforce which users have
access to which subdomains ?
i don’t know if my blog post about subdomain can help you:
I don’t think you’ll find it out of the box, but with some minor
hacking it should be possible to get what you want …
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.