Git Product home page Git Product logo

admin's People

Contributors

ali1 avatar milesj avatar morrislaptop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

admin's Issues

Problem Admin Shell installation

CakePHP 2.3.9
PHP 5.3.15

When installing Admin plugin I've problem with

define('USER_MODEL', 'User');
define('ADMIN_PREFIX', 'admin_');
define('ADMIN_DATABASE', Configure::read('Acl.database'));
Configure::write('Admin.aliases.administrator','admin');

All of this constant is not define and not detecting the setting inside Admin/Config default setting.

After hardcode it in /app/Config/database.php installation when 'ok'

A few question is

  1. What is use for Administrator role ? Is it a Role Model ?
  2. Why after installation (Forum plugin included) can't detect the variable inside config ?

Administrator Role: admin
Is this correct? (Y/N)

y
What user would you like to give admin access?
User ID:
y
User does not exist, please try again
User ID:
1
Access granted, proceeding...

Warning Error: in_array() expects parameter 2 to be array, null given in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 116]

Warning Error: Argument 1 passed to Hash::merge() must be an array, null given, called in /Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php on line 292 and defined in [/Users/r0kawa/Sites/phpnetmy2/lib/Cake/Utility/Hash.php, line 593]

Notice Error: Undefined index: fileFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: imageFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: hideFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 294]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 294]

Warning Error: Argument 1 passed to Hash::merge() must be an array, null given, called in /Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php on line 292 and defined in [/Users/r0kawa/Sites/phpnetmy2/lib/Cake/Utility/Hash.php, line 593]

Notice Error: Undefined index: fileFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: imageFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Warning Error: in_array() expects parameter 2 to be array, null given in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 116]

Warning Error: in_array() expects parameter 2 to be array, null given in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 116]

Warning Error: in_array() expects parameter 2 to be array, null given in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 116]

Warning Error: Argument 1 passed to Hash::merge() must be an array, null given, called in /Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php on line 292 and defined in [/Users/r0kawa/Sites/phpnetmy2/lib/Cake/Utility/Hash.php, line 593]

Notice Error: Undefined index: fileFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: imageFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: hideFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 294]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 294]

Warning Error: in_array() expects parameter 2 to be array, null given in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 116]

Warning Error: Argument 1 passed to Hash::merge() must be an array, null given, called in /Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php on line 292 and defined in [/Users/r0kawa/Sites/phpnetmy2/lib/Cake/Utility/Hash.php, line 593]

Notice Error: Undefined index: fileFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: imageFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: hideFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 294]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 294]

Warning Error: in_array() expects parameter 2 to be array, null given in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 116]

Warning Error: Argument 1 passed to Hash::merge() must be an array, null given, called in /Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php on line 292 and defined in [/Users/r0kawa/Sites/phpnetmy2/lib/Cake/Utility/Hash.php, line 593]

Notice Error: Undefined index: fileFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: imageFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Installing Admin...
Action Logs
Control Objects
Item Reports
Object Permissions
Request Objects
Admin model ACOs installed

Notice Error: Undefined offset: 0 in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Console/Command/InstallShell.php, line 115]

Warning Error: in_array() expects parameter 2 to be array, null given in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 116]

Warning Error: Argument 1 passed to Hash::merge() must be an array, null given, called in /Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php on line 292 and defined in [/Users/r0kawa/Sites/phpnetmy2/lib/Cake/Utility/Hash.php, line 593]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 293]

Notice Error: Undefined index: hideFields in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 294]

Warning Error: array_merge(): Argument #1 is not an array in [/Users/r0kawa/Sites/phpnetmy2/app/Plugin/Admin/Lib/Admin.php, line 294]

Installing ...
Users
Warning Error: DbAcl::allow() - Invalid node in [/Users/r0kawa/Sites/phpnetmy2/lib/Cake/Model/Permission.php, line 175]

 model ACOs installed

array_merge(): Argument #1 is not an array [APP/Plugin/Admin/Lib/Admin.php, line 137]

I'm new to using your Utility and Admin plugins but overall I'm super happy with them. I have however come across a particular warning in the Lib/Admin.php file.

I don't know if it's because of the structure of my particular project but I get this error all the time:

Warning (2): array_merge(): Argument #1 is not an array [APP/Plugin/Admin/Lib/Admin.php, line 137]

Here's the code according to Cake's debugger:

    'installed' => Admin::isModelInstalled($id),
    'group' => $object->useDbConfig
));

I've basically had to turn off debugging in the getPluginModels() function by adding this error_reporting(0); just above:

$map[] = array_merge($object->admin, array(
    'id' => $id,
    'title' => $object->pluralName,
    'alias' => $model,
    'class' => $class,
    'url' => Inflector::underscore($id),
    'installed' => Admin::isModelInstalled($id),
    'group' => $object->useDbConfig
));

I'm using Admin version 1.1.1

Deep ARO processing error

I upgraded to 0.26.2, and immediately got ACO errors on every page. I was able to trace it to the new deep ARO resolution, specifically RequestObject::isChildOf. When $user_id is undefined, errors abound. So I added a quick check to return false if $user_id is not set, and that seems to have fixed my issue.

I grant that I could be grossly misusing ACL/ARO/ACO, but I was somewhat taken aback when my functioning site suddenly blew up in my face. :)

Deprecated plugin

Can you please tell me what is the reason the admin is deprecated? Thank you!

Error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'foreign_key' cannot be null

Again, not sure if this is something to do with my DB setup but when you try and Clear Cache in any of the Process sub-menus I get the above-mentioned DB error.

It's happening on /admin/core.page/process_behavior/cacheable/clearCache

Here's what the SQL looks like:

INSERT INTO `dbname`.`admin_action_logs` (`action`, `user_id`, `model`, `foreign_key`, `comment`, `item`, `created`) VALUES (6, 2, 'Page', NULL, 'Triggered Cacheable.clearCache() process', NULL, '2013-08-19 15:52:54')

admin/admin.file_upload/index - no access

Is it a bug that the view all uploads does not have ACL properly setup?
I installed the Uploaderplugin after I ran den Admin.install script.

I get a: DbAcl::check() - Failed ACO node lookup in permissions check.

Existing table prefix

I have an existing prefix of rod_, which I changed to define('ADMIN_PREFIX', 'rod_');

Running ./Console/cake Admin.install, there is an error message:

---------------------------------------------------------------

Install Steps:

---------------------------------------------------------------

[1] Check Database Configuration
[2] Set Table Prefix
[3] Set Users Table
[4] Check Table Status
[5] Create Database Tables
[6] Setup ACL
[7] Finish Installation

Database Config: default
Is this correct? (Y/N) 
> Y
Database check successful, proceeding...

---------------------------------------------------------------

[x] Check Database Configuration
[2] Set Table Prefix
[3] Set Users Table
[4] Check Table Status
[5] Create Database Tables
[6] Setup ACL
[7] Finish Installation

Table Prefix: rod_
Is this correct? (Y/N) 
> Y
Table prefix set, proceeding...

---------------------------------------------------------------

[x] Check Database Configuration
[x] Set Table Prefix
[3] Set Users Table
[4] Check Table Status
[5] Create Database Tables
[6] Setup ACL
[7] Finish Installation

Users Table: users
Is this correct? (Y/N) 
> Y
Users Model: User
Is this correct? (Y/N) 
> Y
Users table set, proceeding...

---------------------------------------------------------------

[x] Check Database Configuration
[x] Set Table Prefix
[x] Set Users Table
[4] Check Table Status
[5] Create Database Tables
[6] Setup ACL
[7] Finish Installation

The following tables are required: aros, acos, aros_acos, users
Checking tables...
Missing tables aros, acos, aros_acos, users; can not proceed
Process aborted!

The tables are all there with a prefix of "rod_". Thanks for your help and awesome plugin!

How to get ACL working?

Hi Miles

So loving the Admin plugin but having an issue with getting ACL to work. I have ACL setup in my app controller as a component and if my users are defined as "Administrators" when giving them permissions then it all works fine and ACL kicks in beautifully.

The problem is I have two other roles:- "Members" and "Editors" and I want Editors to have access to certain components in the Admin area. The thing is, if I change a user to Editor (even though ACL has full permissions on everything) that user cannot access the Admin area and I just get this error: Error: [UnauthorizedException] Insufficient Access Permissions.

I don't know what I'm doing wrong. Why would ACL work for "Administrators" but not for "Editors" or "Members"?

AttachmentBehavior afterFind getting false in $results

Because the Admin plugin loads the Cacheable behavior on the fly, it is last in the list of behaviours for callbacks.

This means the Cacheable behaviour is setting the datasource to return false for $results in the beforeFind method.

Then the AttachmentBehaviour is trying to process a false $results in it is afterFind method because it is being executed before the Cacheable has the chance to return results from the cache with it's own afterFind..

This is resolved by specifically specifying the Cacheable behaviour in the model, BEFORE the Attachment behaviour.

ie.

public $actsAs = array(
    'Utility.Cacheable', # load first
    'Uploader.Attachment' => array(
        // Do not copy all these settings, it's merely an example
        'image' => array(
            'uploadDir' => 'SET IN CONSTRUCTOR',
            'finalPath' => 'SET IN CONSTRUCTOR',
            'transforms' => array(
                'square' => array(
                    'class' => 'fit',
                    'width' => 200,
                    'height' => 200
                )
            )
        )
    )
);

Stack trace..

Warning (2): Invalid argument supplied for foreach() [APP/Plugin/Uploader/Model/Behavior/AttachmentBehavior.php, line 222]
Code Context
AttachmentBehavior::afterFind() - APP/Plugin/Uploader/Model/Behavior/AttachmentBehavior.php, line 222
ObjectCollection::trigger() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 132
call_user_func - [internal], line ??
CakeEventManager::dispatch() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 247
Model::_filterResults() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Model/Model.php, line 3212
Model::_readDataSource() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Model/Model.php, line 2904
Model::find() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Model/Model.php, line 2872
CacheableBehavior::getCount() - APP/Plugin/Utility/Model/Behavior/CacheableBehavior.php, line 454
BehaviorCollection::dispatchMethod() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Model/BehaviorCollection.php, line 239
Model::__call() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Model/Model.php, line 795
Reward::getCount() - APP/Plugin/Admin/Controller/AdminController.php, line 24
AdminController::index() - APP/Plugin/Admin/Controller/AdminController.php, line 24
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - APP/Vendor/pear-cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 160

Ignore 'not empty' validation when updating a record

notEmpty is useful on the user side so that when a field is shown to the user, it must be filled.

However on the admin panel, when you are updating a record, there is no way to select which fields are shown and so the admin who may be intending to modify a single field has to then populate all of the notEmpty fields too before s/he can save.

I think we should be more relaxed with validation during record update.

admin.ctp view layout bug on the Models page

On the /admin/index page you have buttons for:

  • Plugins
  • Models
  • Configuration
  • Cache
  • Routes

All my buttons work correctly except the Models one. When I click it, this is how my page loads:
screen shot 2013-08-19 at 3 49 37 pm

If you look at the source of the HTML it's not loading the main admin.ctp file as the code just loads the content view:

<div class="action-buttons">
    <a href="/hrinduction/admin/index" class="btn btn-large"><span class="icon-paste"></span> Plugins</a><a href="/hrinduction/admin/models" class="btn btn-large active"><span class="icon-file"></span> Models</a><a href="/hrinduction/admin/config" class="btn btn-large"><span class="icon-cog"></span> Configuration</a><a href="/hrinduction/admin/cache" class="btn btn-large"><span class="icon-hdd"></span> Cache</a><a href="/hrinduction/admin/routes" class="btn btn-large"><span class="icon-road"></span> Routes</a>
    <span class="clear"></span>
</div>
<h2>Models</h2>

<table class="table table-striped table-bordered sortable">
    <thead>
        <tr>
            <th><span>Model</span></th>
            <th><span class="tip" title="Primary Key">PK</span></th>
            <th><span>Display Field</span></th>
            <th><span>Database</span></th>
            <th><span>Table</span></th>
            <th><span>Schema</span></th>
            <th><span>Behaviors</span></th>
            <th><span>Belongs To</span></th>
            <th><span>Has One</span></th>
            <th><span>Has Many</span></th>
            <th><span class="tip" title="Has and Belongs to Many">HABTM</span></th>
        </tr>
    </thead>
    <tbody>

            <tr class="info">
                <td colspan="11"><b>Admin</b></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/admin.action_log/index">ActionLog</a>               </td>
                <td>id</td>
                <td>
                    item                </td>
                <td>default</td>
                <td>admin_action_logs</td>
                <td>id, user_id, action, model, foreign_key, item, comment, created</td>
                <td>Containable, Utility.Cacheable, Utility.Enumerable</td>
                <td>User</td>
                <td></td>
                <td></td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/admin.control_object/index">ControlObject</a>               </td>
                <td>id</td>
                <td>
                    alias               </td>
                <td>default</td>
                <td>acos</td>
                <td>id, parent_id, model, foreign_key, alias, lft, rght</td>
                <td>Containable, Tree, Utility.Cacheable</td>
                <td>Parent, User</td>
                <td></td>
                <td>Children</td>
                <td>RequestObject</td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/admin.item_report/index">ItemReport</a>             </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>admin_item_reports</td>
                <td>id, reporter_id, resolver_id, status, type, model, foreign_key, item, reason, comment, created, modified</td>
                <td>Containable, Utility.Cacheable, Utility.Enumerable</td>
                <td>Reporter, Resolver</td>
                <td></td>
                <td></td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/admin.object_permission/index">ObjectPermission</a>             </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>aros_acos</td>
                <td>id, aro_id, aco_id, _create, _read, _update, _delete</td>
                <td>Containable, Utility.Enumerable</td>
                <td>ControlObject, RequestObject</td>
                <td></td>
                <td></td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/admin.request_object/index">RequestObject</a>               </td>
                <td>id</td>
                <td>
                    alias               </td>
                <td>default</td>
                <td>aros</td>
                <td>id, parent_id, model, foreign_key, alias, lft, rght</td>
                <td>Containable, Tree, Utility.Cacheable</td>
                <td>Parent, User</td>
                <td></td>
                <td>Children</td>
                <td>ControlObject</td>
            </tr>


            <tr class="info">
                <td colspan="11"><b>Core</b></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.activity/index">Activity</a>               </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>activities</td>
                <td>id, category_name, activity_section_id, added, deleted</td>
                <td></td>
                <td>ActivitySection</td>
                <td></td>
                <td></td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.activity_item/index">ActivityItem</a>              </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>activity_items</td>
                <td>id, activity_section_id, item_name, description, added, updated, deleted</td>
                <td></td>
                <td>ActivitySection</td>
                <td></td>
                <td></td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.activity_log/index">ActivityLog</a>                </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>activity_logs</td>
                <td>id, activity_section_id, member_id, completed, added, updated, deleted</td>
                <td></td>
                <td>ActivitySection, Member</td>
                <td></td>
                <td>Newsfeed</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.activity_section/index">ActivitySection</a>                </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>activity_sections</td>
                <td>id, section_name, description, image, added, updated, deleted</td>
                <td></td>
                <td></td>
                <td></td>
                <td>Activity, ActivityItem, ActivityLog</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.business_unit/index">BusinessUnit</a>              </td>
                <td>id</td>
                <td>
                    name                </td>
                <td>default</td>
                <td>business_units</td>
                <td>id, name, deleted</td>
                <td></td>
                <td></td>
                <td></td>
                <td>Member, Speaker</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.comment/index">Comment</a>             </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>comments</td>
                <td>id, member_id, page_id, comment, added, deleted</td>
                <td></td>
                <td>Member, Page</td>
                <td></td>
                <td>Newsfeed</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.employment_type/index">EmploymentType</a>              </td>
                <td>id</td>
                <td>
                    name                </td>
                <td>default</td>
                <td>employment_types</td>
                <td>id, name, deleted</td>
                <td></td>
                <td></td>
                <td></td>
                <td>Member</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.event/index">Event</a>             </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>events</td>
                <td>id, grade_id, time, venue, address, agenda, added, deleted</td>
                <td></td>
                <td>Grade</td>
                <td></td>
                <td>Newsfeed, Speaker</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.feedback/index">Feedback</a>               </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>feedbacks</td>
                <td>id, member_id, text, sent, deleted</td>
                <td></td>
                <td>Member</td>
                <td></td>
                <td>Newsfeed</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.grade/index">Grade</a>             </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>grades</td>
                <td>id, class_period, added, deleted</td>
                <td></td>
                <td></td>
                <td></td>
                <td>Event, Member, Newsfeed</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.job_level/index">JobLevel</a>              </td>
                <td>id</td>
                <td>
                    name                </td>
                <td>default</td>
                <td>job_levels</td>
                <td>id, name, delete</td>
                <td></td>
                <td></td>
                <td></td>
                <td>Member, Speaker</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.member/index">Member</a>               </td>
                <td>id</td>
                <td>
                    surname             </td>
                <td>default</td>
                <td>members</td>
                <td>id, firstname, surname, deloitte_email, other_email, telephone, password, grade_id, service_line_id, business_unit_id, job_level_id, office_location_id, employment_type_id, photo, aspirations, facebook_profile, twitter_profile, linkedin_profile, yammer_groups, added, updated, deleted</td>
                <td></td>
                <td>BusinessUnit, EmploymentType, Grade, JobLevel, OfficeLocation, ServiceLine</td>
                <td></td>
                <td>ActivityLog, Comment, Feedback</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.newsfeed/index">Newsfeed</a>               </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>newsfeeds</td>
                <td>id, activity_log_id, comment_id, feedback_id, event_id, grade_id, is_admin, is_global, added, deleted</td>
                <td></td>
                <td>ActivityLog, Comment, Event, Feedback, Grade</td>
                <td></td>
                <td></td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.office_location/index">OfficeLocation</a>              </td>
                <td>id</td>
                <td>
                    name                </td>
                <td>default</td>
                <td>office_locations</td>
                <td>id, name, address, telephone, deleted</td>
                <td></td>
                <td></td>
                <td></td>
                <td>Member, Speaker</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.page/index">Page</a>               </td>
                <td>id</td>
                <td>
                    title               </td>
                <td>default</td>
                <td>pages</td>
                <td>id, title, slug, body, tags, added, updated, published, deleted</td>
                <td></td>
                <td></td>
                <td></td>
                <td>Comment</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.service_line/index">ServiceLine</a>                </td>
                <td>id</td>
                <td>
                    name                </td>
                <td>default</td>
                <td>service_lines</td>
                <td>id, name, deleted</td>
                <td></td>
                <td></td>
                <td></td>
                <td>Member, Speaker</td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/core.speaker/index">Speaker</a>             </td>
                <td>id</td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td>default</td>
                <td>speakers</td>
                <td>id, firstname, surname, bio, photo, service_line_id, business_unit_id, job_level_id, office_location_id, event_id, added, updated, deleted</td>
                <td></td>
                <td>BusinessUnit, Event, JobLevel, OfficeLocation, ServiceLine</td>
                <td></td>
                <td></td>
                <td></td>
            </tr>


            <tr>
                <td>
                    <a href="/hrinduction/admin/crud"></a>              </td>
                <td></td>
                <td>
                                            <span class="label label-warning">N/A</span>
                                    </td>
                <td></td>
                <td></td>
                <td>

Group-only ACL

Does it work in your plugin? And how I can create requesters in panel?
Thank you!

Ability to hide columns on the index page

Something like....

// Enable with custom settings
class Entry extends AppModel {
    public $admin = array(
        'hideColumns' => array('25words', 'longDescription');
    );
}

Why do you extend Controller instead of AppController in the AdminAppController?

I couldn't originally get the plugin to work. I was getting redirected to /users/login everytime I tried to access /admin.

Changing the line

class AdminAppController extends Controller

to

class AdminAppController extends AppController

fixed the issue for me. So I'm curious, what is the reasoning for extending Controller? Thanks.

Problem installing the admin plugin

When running the cake Admin.install I get the following error:

Fatal error: Call to undefined method Configure::check() in C:\xampp\htdocs\foru
m\app\Plugin\Admin\Config\bootstrap.php on line 202

I am using the latest version of cake 2.4.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.