Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUser-based access instead of role-based User-based access instead of role-based
Previous
 
Next
New Post
6/9/2011 3:15 PM
 
I'm sure this has been asked before but I have been unable to find it in the discussion forums. . .
I have a client that would like to upload a specific patient's file to his DNN website then have them register with the same email they provided him and allow them to download only their specific files. Is there a way to do this with the repository module or does anyone know of another possible solution? 
Best Regards,
Mathew Somers
 
New Post
6/10/2011 9:35 AM
 
Some functionality that was added to the Repository module in version 3.5.3 might help you do what you want, but I don't think it's what you are looking for.  3.5.3 is (still) in the Release Tracker being tested.  If you want to download the development build to try it out you can download it at
http://www.gooddogs.com/Downloads/tab...

the setting you are looking for is "Item level security" where the admin can upload a file and specify that only members of a certain role can see and download that item.  The downside is that the admin would have to setup a security role for each client and make sure each client is assigned to their security role, then it would work as you wish.  But it's  obviously not ideal.

What you need to be able to do is have the uploader pick a specific user that the item is intended for, and that is not a feature that is currently available. Sorry.  It's a great use case though, so I will add it in the next release.



 
New Post
6/10/2011 10:15 AM
 
In following up ... I took a look at the code that would be needed and it turned out to be pretty simple, so I added it.

It looks like I'll have to submit a new build of 3.5.3 to the Release Tracker at some point as they've found some "uninstall" issues where some artifacts are left behind when you uninstall the module.

So, I added a new token [TARGETUSER] that you can place on the upload form.  The person uploading an item can enter either a UserName or a User's EMail address in that field and then only the user with that UserName or Email will be able to see/download the item.  

This new feature will be in 3.5.3 when it's finally approved for release.  A development build with this new feature will be available shortly.

 
New Post
6/10/2011 1:27 PM
 
Oh WOW Steve!!!
You have totally made my week! That's wonderful exciting news. I will keep you in the loop as we use and please tell me if there is anything I can do for you.
Mat
 
New Post
11/20/2011 11:11 PM
 
Hi Steve. I've added the [TARGETUSER] token to the form.html. It is showing and saving the token entry but I cant get it to filter for only [TARGETUSER]. Do I need to disable Personal Repository or any other settings?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUser-based access instead of role-based User-based access instead of role-based


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out