Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonas Eriksson 930 posts 1825 karma points
    Apr 29, 2011 @ 19:33
    Jonas Eriksson
    0

    Where can I find node protection data in the db?

    I'm moving the login node to another and therefore I have a few protected pages which I'd like to change at once. So I wanted to dive in to the db and hopefully just change the login nodeid in some rows. But I cannot find the membership protection info. What kind of magic is performed and where?

    Thanks

    Jonas

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 29, 2011 @ 19:48
    Tom Fulton
    0

    I seem to remember a thread recently stating it was stored in /App_Data/access.xml - not sure if it's in the DB at all

    -Tom

  • Jonas Eriksson 930 posts 1825 karma points
    Apr 29, 2011 @ 19:53
    Jonas Eriksson
    0

    Yeah, thanks, I also saw that - but that file was empty. It's a mystery.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 29, 2011 @ 20:10
    Tom Fulton
    0

    You probably realized this, but I meant access.config and not .xml

    But that's strange it's empty, according to the source it looks like it saves the info directly in the XML file.

    Confirmed with a test also:

    <access>
      <page id="1065" loginPage="1068" noRightsPage="1068" simple="False">
        <group id="test" />
      </page>
    </access>

    Are you running pre-4.5?  Maybe try /data/access.xml per this thread?

    -Tom

  • Jonas Eriksson 930 posts 1825 karma points
    Apr 29, 2011 @ 20:15
    Jonas Eriksson
    0

    ah - mix that and you get what I have: /data/access.config :) - probably due to it's an upgrade to what is now 4.7. Thanks Tom

    Very happy to have found this. Hard to get an overview on the membership settings just by using the nodetree.

    Just adding that the mediaprotect has the same kind of config file in /data/mediaaccess.config (or app_data/ in nonupgrades I assume).

    /Jonas

Please Sign in or register to post replies

Write your reply to:

Draft