mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-2112-Error-ACLs-en-los-Graph-Container' into 'develop'
[Graph container] Display only the containers group can see (ACL) See merge request artica/pandorafms!1426
This commit is contained in:
commit
51df9802f7
@ -20,7 +20,13 @@
|
|||||||
*/
|
*/
|
||||||
require_once ('include/functions_graph.php');
|
require_once ('include/functions_graph.php');
|
||||||
function folder_get_folders(){
|
function folder_get_folders(){
|
||||||
$folders = io_safe_output(db_get_all_rows_in_table ('tcontainer','parent, name'));
|
$folders = io_safe_output(db_get_all_rows_filter (
|
||||||
|
'tcontainer',
|
||||||
|
array (
|
||||||
|
'id_group' => array_keys(users_get_groups()),
|
||||||
|
'order' => 'parent, name'
|
||||||
|
)
|
||||||
|
));
|
||||||
|
|
||||||
$ordered_folders = array();
|
$ordered_folders = array();
|
||||||
foreach ($folders as $folder) {
|
foreach ($folders as $folder) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user