This project is read-only.

Authenticated user with no roles < anonymous user

Topics: Business Logic Layer
Apr 15, 2013 at 8:59 PM
I have found that an authenticated user assigned to no roles has fewer privileges than an anonymous user with no auth cookie. E.g., such a person cannot view blogs.

Is this by design? Any workaround?
Apr 15, 2013 at 10:22 PM
It looks a little counter-intuitive and probably there is no real situation when it is useful, but on the other hand it shows right away that there was a mistake creating new user. The "workaround" is to assign a role.
Apr 15, 2013 at 11:37 PM
Edited Apr 15, 2013 at 11:37 PM
Yep, no worries. Anonymous role works fine. Thanks!