whistler / ShibShib

Home Page:shibshib.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Admin Console

whistler opened this issue · comments

Create an admin console where the administrators can manually edit the database

Done, at least for the posts.

1- I hard-code it to work only for user id=1, so I would like you to tell me how we will identify admins.
by their IDs or by adding a flag to user DB?

2- I guess we might also need a flag to ban some users in the future.

Lemme know what you think about these two points.

They have a really nice gem to create an admin panel: http://activeadmin.info/

yes, we can add boolean fields like is_admin in and is_banned to the users table.

IT IS AWE$OME!
but unfortunately there is a conflict with will_paginate ( activeadmin/activeadmin#670 )
for now, lets use basic one using rensack

cool, I fixed it.
But can't edit user..
have a look at it and gimme your feedback

Done