Copied to clipboard

Flag this post as spam?

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


  • Mark 255 posts 612 karma points
    Dec 04, 2012 @ 22:05
    Mark
    0

    Extending User Properties

    I understand that adding new properties to a user type within the Users section is not possible. But it seems it is possible to extend user security for custom sections.

    If you have Umbraco Courier or Umbraco Contour installed, and you view the Users section, you see additional folders in the tree view, they are called "Courier security" or "Contour security". These are in addition to the standard "Users", "User types" and "User permissions" folders.

    A client requirement means that I need to add a custom section. I understand that the new section should inherit from umbraco.BasePages.UmbracoEnsuredPage to ensure user security access is adhered to.

    But how do I go about adding an additional folder and child user list into the tree view within the Users section?

    Apologies if this has been discussed elsewhere, I haven't been able to find anything.

    Anyway, hopefully someone can point me in the right direction.

  • Mark 255 posts 612 karma points
    Dec 06, 2012 @ 10:03
    Mark
    0

    Nobody with any ideas on this?

    If I don't get a response I'll reluctantly ask the question on the Contour and Courier forums

  • Mark 255 posts 612 karma points
    Dec 06, 2012 @ 11:00
    Mark
    0

    Having dug into the code a bit and looking at the database it appears additional trees can be added to the tree view through the umbracoAppTree table in the database, by adding an entry for the users appAlias. Detailed info can be found at the following link (although it's actually for a custom section, I'm expecting that extending the BaseTree class will work, as in the "Create the custom pages" section):

    http://www.geckonewmedia.com/blog/2009/8/3/how-to-create-a-custom-section-in-umbraco-4

    I can't mark this post as the answer as it's my own topic, but as far as I'm concerned this is the best answer. I'll be sure to post back here if I run into any more problems.

Please Sign in or register to post replies

Write your reply to:

Draft