Skip to content

Commit

Permalink
Query view with dedicated policy function "query_admin"
Browse files Browse the repository at this point in the history
  • Loading branch information
pkamps committed Dec 10, 2016
1 parent 92c31d3 commit b4ac1b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ezfind/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
);

$ViewList[ 'query' ] = array(
'functions' => array( 'elevate' ),
'functions' => array( 'query_admin' ),
'default_navigation_part' => 'ezfindnavigationpart',
'ui_context' => 'administration',
'script' => 'query.php',
Expand All @@ -52,4 +52,5 @@

$FunctionList = array();
$FunctionList['elevate'] = array();
$FunctionList['query_admin'] = array();
?>

0 comments on commit b4ac1b8

Please sign in to comment.