There's possible to delete user one and break your site really bad way. What I did was to hide user one from users. I don't think this is the best way to handle this but it works for me.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kaido.toomingas’s picture

Issue summary: View changes
damiankloip’s picture

This will just remove user 1 from the listing. This is an issue with vbo - you shouldn't be allowed to delete user 1 with a bulk operation.

kaido.toomingas’s picture

Yeah I learned about this later. VBO uses Entity API for delete actions so it's not that simple to say where this should be handled. For me this helped and I think d.o is the best place to host this patch ;)

kaido.toomingas’s picture

Status: Active » Closed (works as designed)