Copied to clipboard

Flag this post as spam?

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


  • rwm 5 posts 22 karma points
    Jul 20, 2009 @ 20:50
    rwm
    0

    Document management -- multiple member picker?

    I need to set up access to media files with the following structure: A media folder is designated as belonging to a specific member group. Then, a sub-folder below that needs to be available to a subset of members from the parent's member group. Any thoughts on how this can best be accomplished? I'll render the actual file download links with a user control, but how should I set up this access control on the back end? I need a member-group picker and a multiple member picker. Do these exist anywhere?

  • Simon Justesen 436 posts 203 karma points
    Jul 20, 2009 @ 21:57
    Simon Justesen
    0

    When you say member, you mean user right?
    Users are those with access to the umbraco backend, while Members are those who can login at the frontend (the website)

    That's a fairly complex matter, I guess you have to override the methods in the loadmedia class (in umbraco.cms.presentation.Trees), and then render the tree based on who's logged in. But perhaps someone else has a better idea.

    Regarding you other question about a multiple member picker. AFAIK, no one exist - but Christian Palm did a Multiple Page Picker once for umbraco 3. Maybe you can adapt that one to your needs: http://www.cpalm.dk/blog/2006/03/29/multiplepagepickerviasource.aspx (not sure if it works with umbraco 4)

  • rwm 5 posts 22 karma points
    Jul 20, 2009 @ 22:20
    rwm
    0

    Thanks for the reply. I actually did mean member, not user -- I want end-users of the site (members) to be able to log in to the front end and see a list of only the documents that are marked as being available for them. Essentially, I want to set up a many-to-many relationship between documents and members, then list the documents depending on what member is logged in. Ideally, in addition, I'd be able to put the media in folders so that each folder belongs to a particular member group, and the documents within it would be available to a subset of the members of that group. I'll check out your link & see if I can get anywhere.

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Jul 20, 2009 @ 22:46
    Dirk De Grave
    0

    Me thinks 'Protected Media' package I'm working on can do exactly what you're asking for. Package is nearly finished, have some spare time in the next couple of weeks to finish of this package... (http://our.umbraco.org/projects/protected-media)

     

    Cheers,

    /Dirk

  • 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