mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-26 16:33:03 +08:00
Sharing action works
This commit is contained in:
parent
29fc96eb6d
commit
e0e7768dc8
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class SharingACLMapper extends Mapper {
|
|||
const TABLE_NAME = '`*PREFIX*passman_sharing_acl`';
|
||||
|
||||
public function __construct(IDBConnection $db, Utils $utils) {
|
||||
parent::__construct($db, 'passman_vaults');
|
||||
parent::__construct($db, 'passman_sharing_acl');
|
||||
$this->utils = $utils;
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ class ShareService {
|
|||
$acl->setExpire(0);
|
||||
$acl->setPermissions($permissions);
|
||||
$acl->setVaultId($request->getTargetVaultId());
|
||||
$acl->getVaultGuid($request->getTargetVaultGuid());
|
||||
$acl->setVaultGuid($request->getTargetVaultGuid());
|
||||
$acl->setSharedKey($final_shared_key);
|
||||
|
||||
$this->sharingACL->createACLEntry($acl);
|
||||
|
|
Loading…
Reference in a new issue