문제

I have on my website several roles and each of these roles have different levels of responsibility. How can I create a separate administration page for each role or access level?

도움이 되었습니까?

해결책

There's a number of ways you can accomplish this, here's a few off the top of my head (in no particular order):

  • Create a normal page node and use Node Privacy by Role, a module which allows you fine-grain access control on a per-node basis using roles.
  • Use Views to create an admin page and limit the access using Views's "Access Restrictions."
  • Use Panels to create an admin panel and limit the access using Panel's "Access Restrictions" (very similar to Views).
  • Use Contexts, create an admin Context and display the content conditionally.

Basically, there is no best or worst way, it all depends on how your current site is set up. For example if you are already using Panels, it might make sense to go that route, etc.

Personally, I would use a mixture of Contexts and Views!

다른 팁

I think you can use the Views and Panels modules for this.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 drupal.stackexchange
scroll top