在 ExtJS 中处理用户和组

发布于 2025-01-03 09:35:15 字数 111 浏览 1 评论 0原文

我想尝试将 ExtJs 用于新的网络应用程序。 我需要处理用户和角色,以根据连接的用户的角色提供不同的应用程序功能。是否有本机或预构建的库可以执行此操作(例如在 Drupal 中),或者我应该从头开始创建它?

I would like to try to use ExtJs for a new web app.
I need to handle users and roles to give different app features according to the connected user's role. Are there native or pre-built libraries to do this (as, for example in Drupal) or should i create it from scratch?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

清旖 2025-01-10 09:35:15

建立你自己的。请参阅以下 URL:

http://technopaper.blogspot。 com/2010/02/access-control-in-extjs-applications.html

特别是第二段的第一句话:

“权限应该始终在服务器端实现,JavaScript 安全始终是次要的”

记住, ExtJS 是一个基于 Javascript 的客户端框架。因此,与 Drupal 等服务器端框架的比较是无效的。

我通过谷歌搜索“extjs访问控制”找到了上面的URL。您可以通过用 jQuery 替换 ExtJS 来在 Javascript 方面撒下更广泛的网,尽管我对结果的粗略检查使我相信您不会发现有多大用处。

Build your own. Consult the following URL:

http://technopaper.blogspot.com/2010/02/access-control-in-extjs-applications.html

Particularly the first sentence of the second paragraph:

"Permissions should be always be implemented on server side and JavaScript security is always secondary"

Remember, ExtJS is a client side, Javascript-based framework. Therefore comparisons with server side frameworks such as Drupal are not valid.

I found the URL above by googling for "extjs access control". You might cast a wider net Javascript-wise by replacing ExtJS with jQuery, though my cursory examination of the results leads me to believe that you will not find much useful.

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