Update entity-security.rst

Updated to match video for consistency and removed undefined variable $roles error I was getting prior to change.