Private gallery

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
7/2/2009 12:21:59 PM
Gravatar
Total Posts 34

Private gallery

Has anyone tried a private image gallery? I would like to offer a customer an ability to upload images viewable only by the customer and admin. I guess its a custom module to view it and reuse the upload control to the private area but perhaps someone has already done it. 

7/2/2009 2:05:16 PM
Gravatar
Total Posts 18439

Re: Private gallery

The Folder Gallery is not something that can be easily secured, but the Image Gallery Feature can be put on a private page based on roles and it enforces security. So you could create a role for the customer, then create a page and set the view roles and edit roles to that customer and put an Image Gallery on the page. If you don't want them to be able to use other features on the page then only add their role to page view permissions, then after you put the gallery on the page set the module edit roles to allow the customer role. 

Hope it helps,

Joe

7/2/2009 3:21:09 PM
Gravatar
Total Posts 34

Re: Private gallery

Unfortunately role based security s not good enough in my case. I'm building a site for a digital business: customers would upload assets into their own areas/folders that should be editable and viewable by customers and staff of the site. I would not want users in the role of customer to browse other customers folders.

Hence I'm thinking that as a part of the store checkout flow, after payment I would send customers to a final page where they can upload their assets. This would require a custom table linking folder location to a customer + module to view it + reuse the upload module to save files into "private area". Does this make sense to you Joe?

 

You must sign in to post in the forums. This thread is closed to new posts.