14

There are quite a few post/recommendations re Rails authorization plugins. What I'm asking here however is whether there is a popular/good Ruby on Rails Engine (or framework) that includes the user interface pages as well (and controllers/models etc). So something one could integrate in (Engine) or use as a starting point that includes:

  • sign up (e.g. user creates a login, then email is sent with activation link)
  • authentication
  • authorization
  • User interface allowing user to:
    • change password
  • Delegated Administration (Optional)
    • supports multiple/separate companies/groups using the same application
    • Admin User for Company/Group X, and allocate access to Person Y (create a new user)
    • UI to allow user to perform these functions

I threw in the last delegated administration as an optional extra. If there a good/populate product that doesn't have this I'd rather hear about it.

Thanks in advance

4

4 回答 4

4

我认为你可以使用clear获得大部分的方式,但你需要单独实施授权。

Clearance 是一个 Rails 引擎,它将为您提供

  • 报名
  • 授权
  • 忘记密码了吗
  • 记得我
  • 非常容易定制
于 2009-09-22T20:43:03.083 回答
1

Devise似乎是目前的大牌,基本上支持了太阳底下的一切。

于 2012-06-11T00:53:49.177 回答
1

我更喜欢结合使用 Authlogic(用于身份验证)和 Lockdown(用于角色)。他们都处于稳定状态并且工作良好!

只需查看http://stonean.com/page/lockdown-with-authlogic上的 authlogic/lockdown 教程。

github 上的 Authlogic 示例应用程序可能会向您展示一些用于注册、更改密码等的示例代码。

于 2009-09-22T08:34:25.203 回答
0

我不认为有所有可用的东西。来自acts_as 和acts_as_authenticated 和LoginEngine 的组合,可能还有 http://code.google.com/p/rails-authorization-plugin/

大概可以做成你喜欢的东西。

问候

于 2009-09-22T05:48:03.293 回答