Hi Don,

Important bug, thanks for sharing!

I'll reproduce this, try to fix it and share the solution. Let's see if
we can untangle the dark magic of the Hobo generators :D

Warm regards,
Ignacio

El 08/09/14 a las #4, Donald Ziesig escribió:
> Update:
> 
> The manual says if you answer 'n' to "Do you want to prevent all access
> to the site to non-members?\n(Choose 'y' only if ALL your site will be
> private, choose 'n' if at least one controller will be public)" it will
> tell you how to make some controllers require login (it doesn't) :-(
> 
> The code in setup_wizard_generator.rb says the same thing (answer 'n',
> how to...).  It obviously doesn't work.
> 
> Subsequent code provides the technique to make all controllers require
> login and appears to want to insert it into application_controller.rb. 
> The code it suggests almost works when manually inserted into
> application_controller.rb (it has a syntax error which when fixed makes
> it work).  The code is not automatically inserted even though that
> action appears in the generator.
> 
> The erroneous lines are between 93 and 119.
> 
> I would try to fix it, but in my many years of working with Ruby, I
> don't understand the generator code, why it works, or why it is failing.
> :-[
> 
> Don Ziesig
> 
> 
> On 09/06/2014 08:50 PM, Donald Ziesig wrote:
>> Hi All,
>>
>> I am trying to create a members-only, by-invite website.  I selected
>> the appropriate options in setup_wizard but the front page (with menu)
>> comes up without the user having to log in.  I expected that the very
>> first thing that would show up (after the initial page for setting the
>> administrator) is a login page.  I am using the clean_sidemenu option,
>> but that shouldn't impact the privacy requirements for this type of site.
>>
>> Have I found a bug or am I interpreting the functionality wrong?
>>
>> Don Ziesig
>>
> 

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to