Copied to clipboard

Flag this post as spam?

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


  • Pete 213 posts 285 karma points
    Feb 07, 2012 @ 17:18
    Pete
    0

    Permissions error on content tree

    Hey all

    I've just completed a site and have noticed that the "content" node at the top of the tree has disappeared, and also I had a folder called "slideshow" which has also gone, and also the recycled bin has gone.

    The slideshow content still seems to show up on the frontend site though, so the content is still there.

    The tree looked like this

    ¬ Content
    -¬ Site
    -¬ Slideshow
    Recycled Bin

    If I do a "umbraco/editcontent.aspx?id=1079" on the slideshow node, I get this error:

    "The current user doesn't have permissions to browse this document. Please contact the system administrator"

    Any ideas?

    Thanks

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Feb 07, 2012 @ 17:35
    Tom Fulton
    0

    Hi Pete,

    Sounds like your user account has been locked down with permissions and a Start Node.  When you have a Start Node set instead of starting at Content you start wherever your Start Node is defined as, and you don't see the recycle bin.

    Are you logging in with the right user account?  Or maybe your admin has changed the settings of your user?

    -Tom

  • Pete 213 posts 285 karma points
    Feb 07, 2012 @ 17:46
    Pete
    0

    Hey Tom

    I'm logging in as admin, If I select delete the "Start Node in Content" in user settings, then log out, log back in and it's put the setting back to the site not content. I've got the start node in the content channel set as "content" also.

    If I try to browse after selecting "Start Node in Content" - then I can't see the "content" node, just the site.

    When the error is saying "The current user doesn't have permissions to browse this document" - does this mean the umbraco admin user's permissions? or actual umbraco folder / app pool permissions?

    Thanks

    Noticed this line in the log: Insufficient permissions in UmbracoEnsuredPage: '-1,1078,1079',.......?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Feb 07, 2012 @ 17:58
    Tom Fulton
    0

    Hmm, so you are saying that you see the Start Node is set to something other than Content in your User Settings, but if you try to remove it it reverts back to some other node?  Maybe you can try checking/updating in the database - umbracoUser.startStructureId should be -1

    The other issue sounds like node permissions (not folder/app pool).  But I wasn't aware you could set permissions for the admin user though (through the UI at least).  Try right-clicking the node and clicking Permissions and see what's there...

    -Tom

  • Pete 213 posts 285 karma points
    Feb 07, 2012 @ 19:41
    Pete
    0

    If I delete the "Start Node in Content", it reverts back to the 'homesite' and not 'content', and if I try and browse only the 'site' tree appears without 'content' above it.

    Ok thanks - i'll check the startStructureId setting, on my local test server it's -1 and the 'content' appears at the top, but on the production server 'content' and recycle bin are hidden etc.

    Is there a setting I can look up in the db that defines what content to display on the content tree ? ie in relation to user (admin) permissions?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Feb 07, 2012 @ 20:07
    Tom Fulton
    0

    Hi,

    For the permissions problem I would check [umbracoUser2NodePermission] - as the admin user you really shouldn't have any entries tied to yourself there since you should have access to all nodes.  Check by SELECT * FROM [umbracoUser2NodePermission] WHERE userId = 0

    HTH,
    Tom

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Feb 07, 2012 @ 20:29
    Morten Bock
    0

    Have you by any chance upgraded to version 4.7.1 recently? There was a breaking change i the way permissions work in that upgrade.

    More details here:

    http://umbraco.codeplex.com/workitem/30686

  • Pete 213 posts 285 karma points
    Feb 08, 2012 @ 11:57
    Pete
    0

    Okay, looked around the tables, turns out another dev had changed the starting node when in the content tree area to the 'homesite', maybe by using the move option?? I have no idea how it was done.

    But I went into the [umbracoUser] table and changed the [startStructureID] back to -1, whereas previously it was set to '1102'. Content then reappeared and the recycle bin and a couple of other folders, basically everything higher that node 1102.

    Thanks for the help tom.

    Pete

Please Sign in or register to post replies

Write your reply to:

Draft