# \[UserEngine\] Configuring minimal access without logins

**URL:** <https://www.ruby-forum.com/t/userengine-configuring-minimal-access-without-logins/50251>\
**Category:** Rails\
**Created:** [December 14, 2005, 3:24pm UTC](https://www.ruby-forum.com/t/userengine-configuring-minimal-access-without-logins/50251 "2005-12-14T15:24:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave\_davidson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dave\_davidson](https://www.ruby-forum.com/u/dave_davidson)\
**Post date:** [December 14, 2005, 3:24pm UTC](https://www.ruby-forum.com/t/userengine-configuring-minimal-access-without-logins/50251/1 "2005-12-14T15:24:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dave\_davidson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dave\_davidson](https://www.ruby-forum.com/u/dave_davidson)\
**Post date:** [December 14, 2005, 6:27pm UTC](https://www.ruby-forum.com/t/userengine-configuring-minimal-access-without-logins/50251/2 "2005-12-14T18:27:54Z")

</div>

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

```auto
 Nathaniel S. H. Brown http://nshb.net

```

---

<div class="post-metadata">

**Author:** ![dave\_davidson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@dave\_davidson](https://www.ruby-forum.com/u/dave_davidson)\
**Post date:** [December 14, 2005, 7:58pm UTC](https://www.ruby-forum.com/t/userengine-configuring-minimal-access-without-logins/50251/3 "2005-12-14T19:58:24Z")

</div>

Nathaniel S. H. Brown \<nshb@…\> writes:

> 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.

Brilliant, worked like a charm! Thanks much.
