We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19604 ☆ A M B ☆
    • 179 Posts
    Hi folks,

    I have some TVs in my template that my "editor guy" should not be able to edit, in fact, he should not even see them. How can I achive this? I already marked the TVs as "Lock variable for editing" and revoked the right "edit_locked" in my "editor guy policy". Nothing. Flushed rights, cleared cache, logged out, no effect. Then I removed every right with any "lock" in the name: "steal_lock" and "unlock_element_properties". Still all the TVs appear when he is editing a resource.

    What am I missing?

    best
    Oliver
      MINDEFFECTS – DESIGN for PRINT, WEB and MEDIA
      http://twitter.com/mindeffects · http://www.facebook.com/mindeffects · http://www.youtube.com/mindeffects/ · skype://mindeffects_oliver
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      What happens when he edits and tries to save?

      From how I see it, edit_locked means the actual editing (saving) and not the ability to open/view/edit without saving..


      To hide it, try working with element groups and only granting the main admin policy access to that group.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        From what I understand, you aren’t talking about the TV itself (in the Template Variables section); this is what the "edit locked" feature protects. If you don’t want the TV to show while editing a resource, in Evo you can assign it to a user group so that only those belonging to that user group will see it. I’m sure Revo has something similar.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org