Merge branch 'master' of github.com:mevdschee/php-crud-api
This commit is contained in:
commit
81e0123006
1 changed files with 1 additions and 0 deletions
1
api.php
1
api.php
|
|
@ -1620,6 +1620,7 @@ class PHP_CRUD_API {
|
|||
|
||||
foreach (array('root_actions','id_actions') as $path) {
|
||||
foreach ($table[$path] as $i=>$action) {
|
||||
$table_list = array($table['name']);
|
||||
$fields = $table_fields;
|
||||
if ($table_authorizer) $this->applyTableAuthorizer($table_authorizer,$action['name'],$database,$table_list);
|
||||
if ($column_authorizer) $this->applyColumnAuthorizer($column_authorizer,$action['name'],$database,$fields);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue