mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 21:11:39 +00:00
Fix SU RSM UAP SQL query
This commit is contained in:
parent
79be610902
commit
3f1b78bf91
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