Admin Preferences?

9 views
Skip to first unread message

Dave Menninger

unread,
Nov 2, 2010, 5:11:50 PM11/2/10
to opensourcecurrency
Ahoy!

I've just got my instance of oscurrency running on heroku and I'm
ready to get started customizing it and attracting users. (
http://www.cincinnatitimestore.com ) However, something strange is
happening with my admin user.

When logged in as admin, I go to http://cincinnatitimestore.com/admin/preferences
and I get an error saying I need to be admin to access the page.
Somehow my initial admin user is no longer an admin. How would I go
about fixing this? Probably something easy, but I'm new to rails and
heroku...

Thanks!

~Dave

Tom Brown

unread,
Nov 2, 2010, 5:19:46 PM11/2/10
to opensourc...@googlegroups.com

It seems there is a bug in the install script.  To fix it on heroku:

heroku console
> p = Person.find_by_email('ad...@example.com')
> p.admin = true
> p.save

I will debug the install later today.

Cheers,
Tom


--
You received this message because you are subscribed to the Google Groups "opensourcecurrency" group.
To post to this group, send email to opensourc...@googlegroups.com.
To unsubscribe from this group, send email to opensourcecurre...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/opensourcecurrency?hl=en.

HeresTomWithTheWeather

unread,
Nov 3, 2010, 4:03:18 AM11/3/10
to opensourcecurrency
hi dave,

the install issue is fixed:

https://github.com/austintimeexchange/oscurrency/issues/issue/76

thanks for the report!

cheers,
tom

On Nov 2, 4:19 pm, Tom Brown <herestomwiththeweat...@gmail.com> wrote:
> It seems there is a bug in the install script.  To fix it on heroku:
>
> heroku console
>
> > p = Person.find_by_email('ad...@example.com')
> > p.admin = true
> > p.save
>
> I will debug the install later today.
>
> Cheers,
> Tom
>
> On Nov 2, 2010 2:11 PM, "Dave Menninger" <dave.mennin...@gmail.com> wrote:
>
> Ahoy!
>
> I've just got my instance of oscurrency running on heroku and I'm
> ready to get started customizing it and attracting users.  (http://www.cincinnatitimestore.com)  However, something strange is
> happening with my admin user.
>
> When logged in as admin, I go tohttp://cincinnatitimestore.com/admin/preferences
> and I get an error saying I need to be admin to access the page.
> Somehow my initial admin user is no longer an admin.  How would I go
> about fixing this?  Probably something easy, but I'm new to rails and
> heroku...
>
> Thanks!
>
> ~Dave
>
> --
> You received this message because you are subscribed to the Google Groups
> "opensourcecurrency" group.
> To post to this group, send email to opensourc...@googlegroups.com.
> To unsubscribe from this group, send email to
> opensourcecurre...@googlegroups.com<opensourcecurrency%2Bunsubs cr...@googlegroups.com>
> .
Reply all
Reply to author
Forward
0 new messages