I upgraded my Drupal 8 site from 8.4.5 to 8.5 and I noticed the role visibility in blocks disappears. I did a clean install and it's in Drupal Core, so the problem is not with my upgrade. I am thinking it's in the database but I have no idea how to track it. Does anyone know how?


I had the same problem. Solved it by editing the content of the block. (we logged in as admin you see a button in the right upper corner, click it and select Edit). It appeared the the translated content was not published.

  • Editing the block is not the problem. The missing Roles visibility option is. – Adaddinsane Jun 12 '18 at 15:57
  1. Go to /admin/people
  2. Edit your admin account
  3. Ensure the "admin" checkbox is checked under the Roles section.
  • Sorry, turns out this can fix the problem but it's not guaranteed. Basically it depends on whether the user doing the block editing is a valid user or not. It can be this, if the problem is a permissions issue, rather than the actual bug that was found. – Adaddinsane Jun 12 '18 at 16:11
  • True! However, we are here to answer timely questions, not fix bugs in Drupal core :D Can we get an updated answer for people who newly find this page? – Prestosaurus Sep 17 '18 at 2:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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