Forum: Typo typo admin authentication problems

Posted by Anirudha Jadhav (Guest)
on 2008-07-18 22:57
(Received via mailing list)
Hello ,

I am currently modifying typo to make a blog.

I am  working on a windows machine, with svn. after making changes and
committing them. I updated the repo on my server.

everything works properly, but I cannot login to my admin section, 
username
and password are correct, to errors  here, but the page redirects to 
login
again.

could anyone please direct me to a cause for this, or how to fix this.

Also what is the best way to add a controller and view (a new tab to the
admin panel).

thanks
Posted by de Villamil Frédéric (Guest)
on 2008-07-20 02:02
(Received via mailing list)
Le 18 juil. 08 à 22:52, Anirudha Jadhav a écrit :

>
> could anyone please direct me to a cause for this, or how to fix this.
>
> Also what is the best way to add a controller and view (a new tab to  
> the admin panel).
>
> thanks


Hello,

For your authentication issue, are you sure your database is up to
date ? Latest Typo version introduces roles for users and DB needs to
be migrated using rake db:migrate RAILS_ENV=your_environment.

Adding a new controller is not easy as it used to be :
– Add the controller in app/controllers/admin
– Add the corresponding views into app/controllers/admin/yourcontroller
– Add a new module in config/initializers/access_control.rb

And you're done.

Cheers,
Frédéric
--
Frédéric de Villamil
frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com             Typo : http://typosphere.org
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.