I created a View on a custom Content Entity.
I'd like to have 2 pages:

  • the first with all the fields from my entity, no filters, accessible by users with Edit rights on the entity,
  • the second one with some of the fields, filtered by one criteria, accessible by users with View rights on the entity.

And, of course, with the same path, e.g. [mysite]/myEntity.
How do I do that?
I use Drupal 8.3.4.

1 Answer 1


In Drupal 7 this was quite easy to implement just using Views. In D8 I couldn't manage to implement it only with Views.

You can create a panel page with two different variants. Place the relevant block in each variant and control the accessibility though the 'Page access'. (I used roles but you can even create your custom condition)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.