Re: User role not seeing images in gallery or files in file picker

  •  12-20-2006, 10:59 AM

    Re: User role not seeing images in gallery or files in file picker

    Ben,
     
    By default, on admin role can see all image, other role can only see images for their own. If you want to allow other role works as admin, you need to modify the provider project.
     
    Change:
     
                        If role = "Admin" Then
                            tempfolder = ""
                        ElseIf role = "Registered" Then
                            tempfolder = "Member"
                        ElseIf role <> String.Empty Then
                            tempfolder = role
                        End If
     
    to:
     
                        If role = "Admin" or role = "MyRole"  Then
                            tempfolder = ""
                        ElseIf role = "Registered" Then
                            tempfolder = "Member"
                        ElseIf role <> String.Empty Then
                            tempfolder = role
                        End If
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread