不同用户的不同数据
我创建了一个仪表板,我的所有用户在登录后都会被重定向到该仪表板。现在,如何为不同的人显示不同的数据?
举例来说,我想显示一个附加对象,该对象对于用户 John 来说是一个圆角矩形。我不希望用户 Chris 出现圆角矩形。
我该怎么做?如果可能的话,您能给我一个简短的概述以及任何链接吗?
谢谢。
i have created a dashboard to which all my users are being redirected to after login. Now, how do i display different data for different people?
Say for example, I want to display an additional object which would be a rounded rectangle for user John. I don't want the rounded rectangle to appear for user Chris.
How do i do that? Can you give me a brief overview with any links if possible.
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您正在寻找ACL 管理。
有很多php脚本为此。
我使用 Zend_Acl。
I think you're looking for ACL management.
There are a lot of php script for that.
I use Zend_Acl.