Ruby on Rails 用户管理引擎/框架? (带有网页)
有很多关于 Rails 授权插件的帖子/建议。然而,我在这里要问的是,是否有一个流行/好的 Ruby on Rails 引擎(或框架),其中也包括用户界面页面(以及控制器/模型等)。因此,可以集成到(引擎)中或用作起点,其中包括:
- 注册(例如,用户创建登录名,然后发送带有激活链接的电子邮件)
- 身份验证
- 授权
- 用户界面允许用户:
- 更改密码
- 委派管理(可选)
- 支持多个/独立的公司/团体使用同一应用程序
- X 公司/群组的管理员用户,并向 Y 人员分配访问权限(创建新用户)
- 允许用户执行这些功能的 UI
我在上次委派管理中投入的 这些功能作为可选的额外内容。如果有一个好的/流行的产品没有这个,我宁愿听听它。
提前致谢
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我认为您可以使用 clearance 获得大部分帮助,但您需要单独实施授权。
Clearance 是一个 Rails 引擎,将为您提供
I think you can get most of the way there using clearance, but you'll need to implement authorization separately.
Clearance is a Rails engine that will give you
我更喜欢结合使用 Authlogic(用于身份验证)和 Lockdown(用于角色)。
两人状态稳定,运转良好!
只需查看 authlogic/lockdown 教程 http://stonean.com/page/lockdown -with-authlogic。
GitHub 上提供的 Authlogic 示例应用程序可能会向您展示一些用于注册、更改密码等的示例代码。
I prefer using Authlogic(for authentication) and Lockdown(for roles) in combination.
They are both in a stable state and work well!
Just have a look at the authlogic/lockdown tutorial at http://stonean.com/page/lockdown-with-authlogic.
The Authlogic example application available on github may show you some sample code for registration, changing password etc.
Devise 似乎是当前的一个大工具,基本上支持阳光下的一切。
Devise seems to be a current big one that basically supports everything under the sun.
我不认为有什么东西可以提供。
acts_as 和的组合
acts_as_authenticated 和 LoginEngine 或许还有
http://code.google.com/p/rails-authorization-plugin/< /a>
可能会被做成你喜欢的东西。
问候
I do not think that something with all that is available.
A combination from acts_as and
acts_as_authenticated and LoginEngine and maybe
http://code.google.com/p/rails-authorization-plugin/
Could probably be made into something you like to have.
Regards