This project is read-only.

Profile Show Failure if Not Authenticated

Topics: Customizing Orchard
May 17, 2011 at 5:36 AM

I'm using the profile module and if you try to go to /Profile/AnyUserName while you are not authenticated you get a 404.0 - Not Found. Is this a known bug?

May 17, 2011 at 8:09 AM

Sounds like a bug, should be returning HttpNotAuthorized and redirecting to login... But you should report that to the module owner or on its own codeplex site.

May 17, 2011 at 3:33 PM

I personally think you should be able to view profiles without being authenticated (perhaps just not contact the user). But good point, I should use that modules discussion alias.

Thanks randompete.

May 17, 2011 at 4:07 PM

It could very well be in there as a configuration or permissions option. But I think default behavior should be to make profiles private, since this is the usual behavior I see on most websites (for a good reason!)

May 17, 2011 at 5:48 PM

It actually is there as a permission option. I asked in the other forum and it was answered.

I agree about user profiles being private for most cases, but the site I'm building is a public blog like Gizmodo or Kotaku. I want the article authors profiles to be visibile to every visitor.