CakePHP - Admin Acl Controlled

Post on 12-Jun-2015

2,006 views 4 download

Tags:

description

This is a CakePHP plugin for admin dashboards. It's fully acl controlled. More info on http://www.luisfred.com.br/cakephp-administrativo-acl/

transcript

CAKEPHP ADMIN PLUGINFully Acl Controlled

FEATURES

• Embedded Shell Utility

• Multi language dashboard

• Easy Install

SHELL UTILITY

$ sh cake Admin.Admin

$ sh cake Admin.Admin add_group

$ sh cake Admin.Admin add_user

$ sh cake Admin.Admin show_groups

INSTALLATION•Clone repository on plugin folder:

$ git clone https://luisfredgs@bitbucket.org/luisfredgs/admin.git

INSTALLATION

• Edit app/Config/bootstrap.php and append the follow:

INSTALLATION• Make sure app/Config/core.php on

Routing Prefix line, it must be uncommented:

• Edit AppController:

INSTALLATION

• Import Schema, type the follow on cake console:$ cake schema create --path=Admin/Config/Schema/schema.php --plugin=Admin

INSTALLATION

• Add Admin, Registered and Public groups:$ cake Admin.Admin add_group Admin

$ cake Admin.Admin add_group Registered

$ cake Admin.Admin add_group Public

INSTALLATION

• Add a admin user, this step is essential:$ cake Admin.Admin add_user luisfred my_password admin

• type http://www.your-domain.com/yourapp/admin

INSTALLATION

• Sign in on dashboard and sincronize Acos:

THANKS FOR ALL SUBSCRIBERS IN MY CHANNEL

CONTACTS

• Twitter: @luisfredgs

• Fanpage: facebook.com/luisfredweb

• Website: http://www.luisfred.com.br