CodepadME / laravel-tricks

The source code for the Laravel Tricks website
http://laravel-tricks.com
MIT License
966 stars 298 forks source link

User types #42

Closed cojocaru closed 9 years ago

cojocaru commented 10 years ago

Hi,

I saw in config such option:

// available user permission types that are matched by user_type column in the users table
'user_types' => array(
    'admin'     => 100,
    'reviewer'  => 20,
    'user'      => 10
),

but no management for this, are there any plans for implementing this?

msurguy commented 10 years ago

Thanks for the notice!

To answer your question, there was no need for management of admins/reviewers up to this point, so we just left that as a potential option and do have partial implementation (if you are an admin you get to add categories, tags, etc). Because the site generally would have 1-2 admins we felt like assigning them could be easily done through DB administration.

What are your needs for the admin panel for user management? What kind of operations are you looking to perform through it?

tyloo commented 10 years ago

Well, you don't have any way to report some dirty "Trick", if an user send something bad, you don't allow users to report it and get notified. That can be a nice feature. An admin panel with statistics and graphs would be useful in my opinion too. A last thing : add admin / moderator / user groups with different permissions.

msurguy commented 10 years ago

Yeah, those would be cool and great features. Maybe @stidges and I could figure something out but it would be helpful to get the community involved in that too so that we could get contributions from others into the project.

msurguy commented 9 years ago

Sorry, this is not a priority right now since the site works fine with the user types defined as they are :)