基于国家/地区的动态数据
我正在为客户开发一个解决方案,每个国家/地区的管理员将定义要与客户讨论的内容,将其称为会议访问指南。
我的问题是:
如何使用一个实体来支持多种类型的数据。
我正在考虑将实体连接到业务部门或安全角色,并为每个国家/地区设置一条线路,然后将其限制为仅可供国家/地区管理员编辑(可能使用某些安全配置文件)。
这可能吗?
欢迎任何方法或重新思考。
谢谢, 基督教
I'm working on a solution for a customer where the administrator for each country will define things to be talked about with the customer, call it a visitation guide for meetings.
My question is:
How can I use one entity to support multiple types of data.
I was thinking about hooking the entity up on either the business unit or a security role, and have one line for each country, and then restrict it to only be editable for the country administrator maybe using som security profile.
Is this possible?
Any approaches or rethinking are welcome.
Thanks,
Christian
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里的一个关键因素是您是否希望每个管理员都能看到其他管理员的字段,以及其他管理员是否可以编辑超出其通常编辑范围的字段。
你确实有两个选择;
1) 对特定团队使用单独的表格,其中每个团队都有一名管理员,以便每个团队看到实体本身的不同且定制的视角。这样,对于其他管理员而言,唯一存在的字段是他们自己的字段,因为他们只能看到表单上的相关字段。
2) 使用相同的表单,但为团队或特定用户应用现场安全。这样,其他管理员就会了解彼此的字段,但您可以根据查看表单的人员来改变权限。
您可能还需要在这里考虑的一件事是安全角色以及它们具有哪些记录的可行性,特别是如果您要查看第一个选项。
A key factor here is whether you want each admin to see the other admin's fields, and whether any other admins may be in the position to edit fields that are out of their usual line of editing.
You have two options really;
1) Use separate forms for specific teams where each teams has one of those administrators, so that each team sees a different and bespoke perspective of the entity itself. This way as far as other admins are concerned, the only fields that exist are their own because they only see the relevant fields on the form.
2) Use the same form but apply field security for either teams or specific users. That way the other admins would know about each other's fields, but you can vary permissions based on who is viewing the form.
One thing you may also want to consider here is the Security Role and what records they have viability of, particular if you're going to look at the first option.
默认情况下,使该实体对“国家/地区管理员”不可见,并与适当的管理员手动共享每个实例。
Make this entity invisible to "country administrators" by default and manually share each instance with an appropriate administrator[s].