Fix SU RSM UAP SQL query

hg/feature/cdb-packed
kaetemi 11 years ago
parent af1b9ed495
commit bde283e8cb

@ -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…
Cancel
Save