mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Finnaly fix permissions
This commit is contained in:
parent
1fa0004492
commit
ef12447f8d
@ -100,7 +100,7 @@ class LocalUsers extends AbstractBackend {
|
||||
return array();
|
||||
} else {
|
||||
while($row = $result->fetchRow()){
|
||||
$row['permissions'] = \OCP\PERMISSION_READ;
|
||||
$row['permissions'] = \OCP\PERMISSION_READ | \OCP\PERMISSION_UPDATE;
|
||||
$contacts[] = $row;
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ class LocalUsers extends AbstractBackend {
|
||||
return array();
|
||||
} else {
|
||||
$row = $result->fetchRow();
|
||||
$row['permissions'] = \OCP\PERMISSION_READ;
|
||||
$row['permissions'] = \OCP\PERMISSION_READ | \OCP\PERMISSION_UPDATE;
|
||||
return $row;
|
||||
}
|
||||
} catch(\Exception $e) {
|
||||
|
Loading…
Reference in New Issue
Block a user