Developer forum

Forum » Development » Make OnDownloadFile (more) useful

Make OnDownloadFile (more) useful

Anders Ebdrup
Anders Ebdrup
Reply

Hi Dynamicweb,

 

We are trying to use this notification subscriber: Security.UserManagement.Notifications.Notifications.OnDownloadFile, but I do not think it is working as intended.
The case is that we must handle user specific downloads.

 

In the subscriber you cannot set these properties: Handled and HasAccess. Which is rather vital to use the subscriber.

At the same time I am missing the file path and I will need to request it from the url. Can this be added to this class: OnDownloadFileNotificationArgs?

 

Best regards, Anders


Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

Hi Anders,
I have added the feature to our backlog. TFS # 58753

Thanks

 
Anders Ebdrup
Anders Ebdrup
Reply

Hi Morten,

 

Thank you. So I suppose that right handling of the properties: Handled and HasAccess will be handled as a bug and adding the filename is the new feature here?

 

Best regards, Anders

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

It's all part of the same feature - and there's no bug (by our definition).
Development is already in progress, so it will be released as soon as possible.

Best regards,
Morten

 
Nicolai Pedersen
Reply
This post has been marked as an answer

I did make the properties writable yesterday, so the next version of the Dynamicweb.Security package should solve that problem...

Votes for this answer: 1
 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Anders

The feature regarding OnDownloadFile #58753 has been released in Dynamicweb version 9.6

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum