Copied to clipboard

Flag this post as spam?

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


  • Valerie 67 posts 163 karma points
    Jul 20, 2015 @ 13:43
    Valerie
    0

    User Permissions - not stored in database?

    Hello,

    I have a site which I am developing on my local machine which shares a database with the staging site.

    When I add a public permissions block to the node (single user or role based) this change is present on my local dev instance but not the staging box.

    I was a little surprised since they both share the same database.

    Where is this stored? It's a bit of a pain having to manually recreate the permissions.

    Valerie

  • Dennis Aaen 4490 posts 18155 karma points admin hq c-trib
    Jul 20, 2015 @ 13:57
    Dennis Aaen
    100

    Hi Valerie,

    If you go to the folder called /App_Data in your Umbraco installation you will find a file called access.config.

    So please make sure that this file is in the staging server too.

    Hope this helps,

    /Dennis

  • Comment author was deleted

    Jul 20, 2015 @ 14:03

    Valerie,

    Dennis is spot on.

    The issue you'll run into is the fact that the access.config file stores page Id's generated unique to the database you are working on.

    So if your dev DB has a page with Id of 1234, your production or dev DB may use a different Id.

    You should be able to update this XML file and drop it on the box with the correct Id's.

    Not ideal of course.

    Regards,

    Kevin

Please Sign in or register to post replies

Write your reply to:

Draft