Engine: fixes #3479 - db:seeds fails if readonly role exists and is lock but role has no permissions