mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 01:40:00 +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();
|
userAccessPriv.clear();
|
||||||
CSString query;
|
CSString query;
|
||||||
query << "SELECT AccessPrivilege FROM permission";
|
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))
|
if (!_NelDb.query(query))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue