mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-03-13 17:28:12 -04:00
Merge pull request #608 from Philip-Mooney/master
Fix for access list getAll when not granted all permissions
This commit is contained in:
commit
5830bd73b9
@ -384,7 +384,7 @@ const internalAccessList = {
|
||||
.orderBy('access_list.name', 'ASC');
|
||||
|
||||
if (access_data.permission_visibility !== 'all') {
|
||||
query.andWhere('owner_user_id', access.token.getUserId(1));
|
||||
query.andWhere('access_list.owner_user_id', access.token.getUserId(1));
|
||||
}
|
||||
|
||||
// Query is used for searching
|
||||
|
Loading…
Reference in New Issue
Block a user