Copied to clipboard

Flag this post as spam?

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


  • Tom Maton 387 posts 660 karma points
    Sep 10, 2009 @ 17:34
    Tom Maton
    0

    User Groups with access to specific Document types

    Hi All,

    I am just wondering if it is possible to allow users to have access to a selected Document/Media Type and not all the ones added into Umbraco?

    I can see anything but just wondering if I have missed something.

    Thanks

    Tom

  • Chris Koiak 700 posts 2626 karma points
    Sep 10, 2009 @ 21:42
    Chris Koiak
    0

    There is no simple user-doctype restrictions possible, however depending on you configuration a compromise may be possible.

    You can restrict what content nodes a user has access to, for example a user may only be able to edit pages in the 'news' section. Therefore they would only be able to see the doctypes that are available.

    You can also limit what the user can do in each section (create, delete, edit, etc). Again, this might be able to add some way towards the restriction you are hoping for.

    I've never tried it but... Is there an event handler (http://our.umbraco.org/wiki/reference/api-cheatsheet/using-applicationbase-to-register-events/overview-of-all-events) that you could hook in to that would allow you to reject the creation of specific doc types for specific users. The matching of users to doctypes would have to happen in a custom config file.

    I don't know the specific order of the events, but either BeforeSave or New would be a good place to start. I don't think there's an event that fires before anything has been save to the DB (i.e. New fires after the document/page has been created).

    Chris

  • Tom Maton 387 posts 660 karma points
    Sep 15, 2009 @ 14:52
    Tom Maton
    0

    Thanks Chris,

    Thats cleared a lot up and given me alot to get back to the client with.

    Thanks

    Tom

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies