Skip to content

Commit

Permalink
Updates log statements based on reveiw comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrowland committed Oct 18, 2023
1 parent adeca2e commit 760ad0f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions system/security/shared/caching.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ bool CPermissionsCache::queryPermsManagedFileScope(ISecUser& sec_user, const cha
if (!fullScope || !*fullScope)
{
*accessFlags = queryDefaultPermission(sec_user);
OWARNLOG("FileScope missing, using root for %s, applying default permissions %s(%d), took %dms", sec_user.getName(), getSecAccessFlagName(*accessFlags), *accessFlags, msTick()-start);
OWARNLOG("FileScope empty for %s, applying default permissions %s(%d), took %dms", sec_user.getName(), getSecAccessFlagName(*accessFlags), *accessFlags, msTick()-start);
return true;
}

Expand All @@ -580,9 +580,6 @@ bool CPermissionsCache::queryPermsManagedFileScope(ISecUser& sec_user, const cha
if (m_managedFileScopesMap.empty())
{
*accessFlags = queryDefaultPermission(sec_user);
if (m_secMgr) {
OWARNLOG("Filescope managed scopes empty for %s, applying default permissions %s(%d), took %dms", sec_user.getName(), getSecAccessFlagName(*accessFlags), *accessFlags, msTick() - start);
}
return true;
}

Expand Down

0 comments on commit 760ad0f

Please sign in to comment.