Closed danhartline closed 11 years ago
In order to get that to work, you need to add the "guest" user to your project. Click add user, type in "guest".
Make sure that the guest user has "LISTED" and "VIEW_VISIBLE_IMAGES"
On Mon, Aug 26, 2013 at 2:57 AM, danhartline notifications@github.comwrote:
I made visible several images in the folder:
https://podbase.net/entry/8#/Public/
including: https://podbase.net/entry/8#/Public/Acartia1/CW080113_Acartia1_10x_BF.jpg https://podbase.net/entry/8#/Public/BsN2_1/CW080113_BsN2_1_40x_BF.jpg https://podbase.net/entry/8#/Public/Cyclo1/CW080113_Cyclo1_20x_BF2.jpg etc
(with "set visible"). A nice [V] appeared next to the browser entry. However, when I logged out and went back into Podbase without a log-on, nothing showed up -- just a Home Page with no "public" project.
[It didn't like me logging on as "guest" either -- at least not when I left the password blank or tried "guest" as the password]
— Reply to this email directly or view it on GitHubhttps://github.com/julianh2o/Podbase/issues/109 .
You will never be able to log in as "guest". But when you are not logged in, you are considered a guest user.
On Mon, Aug 26, 2013 at 11:46 AM, Julian julianh2o@gmail.com wrote:
In order to get that to work, you need to add the "guest" user to your project. Click add user, type in "guest".
Make sure that the guest user has "LISTED" and "VIEW_VISIBLE_IMAGES"
On Mon, Aug 26, 2013 at 2:57 AM, danhartline notifications@github.comwrote:
I made visible several images in the folder:
https://podbase.net/entry/8#/Public/
including: https://podbase.net/entry/8#/Public/Acartia1/CW080113_Acartia1_10x_BF.jpg https://podbase.net/entry/8#/Public/BsN2_1/CW080113_BsN2_1_40x_BF.jpg https://podbase.net/entry/8#/Public/Cyclo1/CW080113_Cyclo1_20x_BF2.jpg etc
(with "set visible"). A nice [V] appeared next to the browser entry. However, when I logged out and went back into Podbase without a log-on, nothing showed up -- just a Home Page with no "public" project.
[It didn't like me logging on as "guest" either -- at least not when I left the password blank or tried "guest" as the password]
— Reply to this email directly or view it on GitHubhttps://github.com/julianh2o/Podbase/issues/109 .
OK -- Thanks for the clarification! I had envisioned only a two-step process to make an image public (i.e. visible to "guest"): 1. "Sanitize" (Edit) the metadata in Analysis mode; and 2. Activate "Set Visible." This way gives an extra layer of protection (but also 2 extra steps), since the project itself has to be authorized for "guest" access. It doesn't quite work yet -- it shows the directory listings for the images with "Set visible" set, but no images show. I'll log a GitHub issue. I see that the way you have it set up, I could set up a guest log-in project that would allow the guest to try out the full podbase capabilities (by enabling roles such as "owner" and "template editor"). Not what I had originally asked for, but very interesting in case someone wants to play around with Podbase anonymously (they could upload their own images, presumably). Is there a possible security problem with that (an anonymous person uploading unknown files)?
D
In order to get that to work, you need to add the "guest" user to your project. Click add user, type in "guest".
Make sure that the guest user has "LISTED" and "VIEW_VISIBLE_IMAGES"
On Mon, Aug 26, 2013 at 2:57 AM, danhartline notifications@github.comwrote:
I made visible several images in the folder: https://podbase.net/entry/8#/Public/ including: https://podbase.net/entry/8#/Public/Acartia1/CW080113_Acartia1_10x_BF.jpg https://podbase.net/entry/8#/Public/BsN2_1/CW080113_BsN2_1_40x_BF.jpg https://podbase.net/entry/8#/Public/Cyclo1/CW080113_Cyclo1_20x_BF2.jpg etc (with "set visible"). A nice [V] appeared next to the browser entry. However, when I logged out and went back into Podbase without a log-on, nothing showed up -- just a Home Page with no "public" project. [It didn't like me logging on as "guest" either -- at least not when I left the password blank or tried "guest" as the password] — Reply to this email directly or view it on GitHubhttps://github.com/julianh2o/Podbase/issues/109 .
Reply to this email directly or view it on GitHub: https://github.com/julianh2o/Podbase/issues/109#issuecomment-23285966
Daniel K. Hartline Research Professor and Director Bekesy Laboratory of Neurobiology University of Hawaii at Manoa Honolulu, HI 96822 www.pbrc.hawaii.edu/~danh
on the image: https://podbase.net/entry/8#/Public/Acartia1/CW080113_Acartia1_10x_BF3.jpg
I added "guest" as a user, and I checked the box for "VIEW_VISIBLE_IMAGES" . LISTED was already checked. [V] shows next to the directory entry for these image names. Logging out and reentering without log-in lets me see the directory entries for the images I made "visible" (as well as the folder names lacking "visible" files -- it would be nice if these could stay invisible). The metadata show, but the images do not.
Oh --and clicking View image, Download image or Export Metadata give an "Access Denied" screen
I've fixed this bug, you can now view the image when it is set to visible.
I've also enhanced the directory listing to only display directories that contain visible images somewhere within them.
I've also made it so that "VIEW_VISIBLE_IMAGES" is selected by default when you add a user to a Project.
I've made this a multistep process because it makes sense to be this way. This way you can make it so that certain projects only allow authenticated users to view the visible images and other projects allow anyone to view the visible images.
I made visible several images in the folder:
IGNORE TEXT IN THIS WINDOW, BUT SEE COMMENT OF 2013-08-24 FOR ISSUE OF IMAGE NO-SHOWS
https://podbase.net/entry/8#/Public/
including: https://podbase.net/entry/8#/Public/Acartia1/CW080113_Acartia1_10x_BF.jpg https://podbase.net/entry/8#/Public/BsN2_1/CW080113_BsN2_1_40x_BF.jpg https://podbase.net/entry/8#/Public/Cyclo1/CW080113_Cyclo1_20x_BF2.jpg etc
(with "set visible"). A nice [V] appeared next to the browser entry. However, when I logged out and went back into Podbase without a log-on, nothing showed up -- just a Home Page with no "public" project.
[It didn't like me logging on as "guest" either -- at least not when I left the password blank or tried "guest" as the password]