🙂 I think we are both in the same boat, paddling against each other. Accidentally of course.
I think I'm in the "I'm not quite sure of the question" as much as you are "not really understanding".
I'll see if I can understand your question.
Are you saying you want to restrict template variable access for document resources depending on user role?
So, your question how I show or hide TVs for: Editors? means you want to be able to control TV access for documents when a user is an Editor?
Unfortunately it can also be read as you wish to show/hide TV's for the User Role Editor.
Scenario 1 - TV access for Documents independent of User Role.
Documents can be assigned Template Variables. Template Variables are like additional fields to the standard document structure. TV's are assigned to Templates so documents can get access to them.
Changing the assigned document template will change the template variables that document has access to.
Looking at this scenario. If you are Editing a Document then you will also be able to edit the assigned Template Variables for that Document.
Scenario 2 - TV access for Users independent of Accessing Documents
Template Variables can also be assigned to User Roles. Again, Template Variables can still be considered additional fields to the User structure in the same way they are to documents.
Changing a Users Role will change the applicable template variables associated to the User.
The reality of this is that provided a user can edit a document then they will have access to the assigned template variables regardless. The only access permission you can change with regards to a users role and editing is whether they can edit a document.
One last thing of note. Template Variables are mutually inclusive to both user roles and documents. So a TV can be used for a document and the same can be assigned to the user.
I hope that helps a little and I understand your question a little more.
It sounds like you would like a user with an Editor role have access to specific TV's whereas an User with Admin Role and access another set of TV's for the same document. That is not the way it works.