mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 09:32:08 +02:00
Make sure users can access their own definitions
This commit is contained in:
parent
0b1e444325
commit
3808f6d5e0
@ -55,7 +55,7 @@ class importexport_definitions_bo {
|
||||
$GLOBALS['egw']->db->quote('%,'.str_replace('_','\\_',$id) .',%');
|
||||
}
|
||||
$sql .= implode(' OR ', $read);
|
||||
$sql .= ') ';
|
||||
$sql .= ') OR owner = '.$GLOBALS['egw_info']['user']['account_id'];
|
||||
$query['col_filter'][] = $sql;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user