mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 09:06:19 +00:00
Fix SU RSM UAP SQL query
This commit is contained in:
parent
af1b9ed495
commit
bde283e8cb
1 changed files with 1 additions and 1 deletions
|
@ -648,7 +648,7 @@ namespace RSMGR
|
|||
userAccessPriv.clear();
|
||||
CSString query;
|
||||
query << "SELECT AccessPrivilege FROM permission";
|
||||
query << " WHERE UId = " << userId << " AND DomainId = " << DomainId;
|
||||
query << " WHERE UId = " << userId << " AND DomainId = (SELECT domain_id FROM domain WHERE domain_name = '" << DomainName << "')";
|
||||
|
||||
if (!_NelDb.query(query))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue