mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 17:29:10 +00:00
Fix SU RSM UAP SQL query
This commit is contained in:
parent
a3ca3426c9
commit
576a50ae24
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