2 Views - Different User Restrictions - Photo shows for one user but not another

2 Views - Different User Restrictions - Photo shows for one user but not another

Hello,

I have a membership application that contains member information. Since there is no way to control access permissions between various users I have done the suggestion of creating 2 different views All_Members and All_Members_Restricted. I share All_Members to users that I want the Edit and Delete links to appear and for the users I don't want to give edit and delete capabilities to I share the All_Members_Restricted.

This works fine except for one major problem. I have a photo upload and a formula field to display a photo of the member. This photo gets loaded into an HTML View of Member_Details which is triggered by another formula field with a URL in it.

This is the formula that triggers the Member_Details HTML View
  1. (("<a style='white-space:nowrap;background:#3A5999;border:1px solid #4165C5;color:#ffffff' href=\"#View:Member_Details?member_idstr=") + ID) + "&zc_LoadIn=dialog\">Details</a>"

Since the url in the photo formula has to have the viewLinkName and also has to be visible in the view, the photo does not show up for the users that the view is not being shared with. 

My photo formula looks like this

  1. " <img width='300' height='190' src='https://creatorexport.zoho.com/DownloadFile.do?filepath=/" + Photo_Upload + "&sharedBy=surfcity&appLinkName=sccc-membership&viewLinkName=All_Members'/>"


In the Member Details HTML View I am calling the photo using:

  1. <%=curMem.Photo%>

Which holds the assembled img link from the photo formula field.

The problem is that when a user that has permissions to view the All_Members_Restricted view they cannot see the photo since the viewLinkName is to a view that are not allowed access to. 

If I change the name of the viewLinkName then the users that have access to the All_Members view will not be able to see it.

I though about just giving the All_Members view users permission to view both but then those users have both links show up in their navigation which would add a level of confusion for them.

Does anyone have a suggestion on how to resolve this? Each time I think I have a solution regarding user restricts I hit a brick wall. I sure wish Zoho would come up with a better user management feature based on individual roles and permissions.

Thanks

Bryan