在 ExtJS 中处理用户和组
我想尝试将 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
建立你自己的。请参阅以下 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.