Ruby on Rails 用户管理引擎/框架? (带有网页)

发布于 2024-08-05 04:56:12 字数 448 浏览 2 评论 0原文

有很多关于 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

心凉 2024-08-12 04:56:12

我认为您可以使用 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

  • sign_up
  • Authorization
  • Forgot your password
  • Remember me
  • Very easy to customize
定格我的天空 2024-08-12 04:56:12

我更喜欢结合使用 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.

月下客 2024-08-12 04:56:12

Devise 似乎是当前的一个大工具,基本上支持阳光下的一切。

Devise seems to be a current big one that basically supports everything under the sun.

陌上芳菲 2024-08-12 04:56:12

我不认为有什么东西可以提供。
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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文