mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-06 08:34:16 +01:00
Fixes ACL parsing
This commit is contained in:
@@ -117,10 +117,10 @@ echo '<div id="data-search" class="data-rows">';
|
||||
// Mostrar los resultados de la búsqueda
|
||||
foreach ( $resQuery as $account ){
|
||||
$objAccount->accountId = $account->account_id;
|
||||
$objAccount->accountUserId = $account->account_userId;
|
||||
$objAccount->accountUserGroupId = $account->account_userGroupId;
|
||||
$objAccount->accountOtherUserEdit = $account->account_otherUserEdit;
|
||||
$objAccount->accountOtherGroupEdit = $account->account_otherGroupEdit;
|
||||
$objAccount->accountUserId = $account->account_userId;
|
||||
$objAccount->accountUserGroupId = $account->account_userGroupId;
|
||||
$objAccount->accountOtherUserEdit = $account->account_otherUserEdit;
|
||||
$objAccount->accountOtherGroupEdit = $account->account_otherGroupEdit;
|
||||
|
||||
$accView = ( SP_ACL::checkAccountAccess("accview", $objAccount->getAccountDataForACL()) && SP_ACL::checkUserAccess("accview") );
|
||||
$accViewPass = ( SP_ACL::checkAccountAccess("accviewpass", $objAccount->getAccountDataForACL()) && SP_ACL::checkUserAccess("accviewpass") );
|
||||
|
||||
@@ -244,6 +244,11 @@ class SP_Account {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
$this->accountUserId = $queryRes->account_userId;
|
||||
$this->accountUserGroupId = $queryRes->account_userGroupId;
|
||||
$this->accountOtherUserEdit = $queryRes->account_otherUserEdit;
|
||||
$this->accountOtherGroupEdit = $queryRes->account_otherGroupEdit;
|
||||
|
||||
return $queryRes;
|
||||
}
|
||||
|
||||
@@ -292,6 +297,11 @@ class SP_Account {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
$this->accountUserId = $queryRes->acchistory_userId;
|
||||
$this->accountUserGroupId = $queryRes->acchistory_userGroupId;
|
||||
$this->accountOtherUserEdit = $queryRes->acchistory_otherUserEdit;
|
||||
$this->accountOtherGroupEdit = $queryRes->acchistory_otherGroupEdit;
|
||||
|
||||
return $queryRes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user