mirror of
https://github.com/nextcloud/passman.git
synced 2024-12-27 10:03:50 +08:00
Fix get acl
This commit is contained in:
parent
699a3796d3
commit
99c7f4d4c2
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ class ShareController extends ApiController {
|
|||
$acl = $this->shareService->getCredentialAclList($item_guid);
|
||||
try {
|
||||
$credential = $this->credentialService->getCredentialByGUID($item_guid);
|
||||
if ($credential->getUserId() == $this->userId){
|
||||
if ($credential->getUserId() == $this->userId->getUID()){
|
||||
return new JSONResponse($acl);
|
||||
}
|
||||
else{
|
||||
|
|
Loading…
Reference in a new issue