[Rails] [UserEngine] Configuring minimal access without logins
Nathaniel S. H. Brown
nshb at inimit.com
Wed Dec 14 17:27:26 GMT 2005
Hey Dave,
There is a role called Guest which will do precisely what you are after.
The bootstrap should have inserted three roles, if not try running it again
and check your /role/ list while logged in as admin to see if it is there.
It will not be available to users as it is intended for users with no
username.
-Nb
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nathaniel S. H. Brown http://nshb.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -----Original Message-----
> From: rails-bounces at lists.rubyonrails.org
> [mailto:rails-bounces at lists.rubyonrails.org] On Behalf Of
> dave davidson
> Sent: December 14, 2005 6:17 AM
> To: rails at lists.rubyonrails.org
> Subject: [Rails] [UserEngine] Configuring minimal access
> without logins
>
> Hi,
>
> I'm playing around with the UserEngine for limiting access to
> my app and I like what I see so far. One question, however,
> I'd like to be able to set it up so that any user navigating
> to the site is automatically set as "anonymous" or some such
> access level with minimal permissions, without having to login.
>
> IOW, the login function should only be used by admins; normal
> users need not login to access the information inside. How
> could I accomplish this functionality?
>
> I tried in the "roles" page to uncheck the 'login' box for
> the User role, thinking that it would remove the login page
> for that type of user, but then I was not able to log in at
> all with any account, even admin.
>
> Thanks in advance for any help.
>
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
More information about the Rails
mailing list