如何分离多个客户的数据?
我想建立一个 Drupal 站点,其中一组客户管理员可以为不同的客户管理相同类型的数据(内容类型)。我考虑过多站点设置,但这似乎有点太复杂了。
这是我希望能够做到的:
- 网站管理员可以创建内容类型、修改网站结构等。
- 客户管理员可以登录并为任何客户添加内容(但不能创建内容类型)
- 客户可以登录并 添加内容读取仅与他们相关的数据,而不是与其他客户相关的数据。
- 当不同的客户登录时,他们应该能够被引导至其公司的品牌登陆页面。
- 所有用户都登录到相同的 URL(不是单独的域或子域)
我已经研究了许多不同的模块,但我不确定哪一个最适合我的目的。有什么想法吗?
更新:我很欣赏建议研究不同模块的答案,但正如我上面所说,我已经研究了许多模块,但由于有太多重叠,我不太确定哪一个最适合我的需求。我研究了:节点访问、空间、有机组 (og)、子域、域、功能和上下文。我正在寻找的答案将更多地解释为什么一个模块可能比其他模块更能满足我的目的。
I want to set up a Drupal site where a group of Customer Admins can manage the same type of data (content types) for different customers. I considered a multi-site setup, but this seemed a bit too complex.
Here is what I want to be able to do:
- Site Admins can create content types, modify the structure of the site, etc.
- Customer Admins can log in and add content for any customer (but not create content types)
- Customers can log in and read data that is only related to them, but not for other customers.
- When different customers log in, they should be able to be directed to a branded landing page for their company.
- All users log in to the same URL (not separate domains or subdomains)
I've looked into a number of different modules, but I'm not sure which one(s) would be best for my purposes. Any ideas?
Update: I appreciate the answers suggesting different modules to look into, but as I stated above, I've looked into a number of modules, but because there is so much overlap, I'm not quite sure which one would best suit my needs. I've looked into: nodeaccess, spaces, Organic Groups (og), subdomain, domain, feature, and context. The answer I'm looking for would have more of an explanation on why one module would likely serve my purposes better than others.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Spaces 模块 提供了大部分(如果不是全部)您正在寻找的功能。
The Spaces module provides most, if not all of the functionality you're looking for.
您可能还想研究有机群体
You might also want to look into Organic Groups