fixed ice entitlements
This commit is contained in:
1 parent
e6ab7d825a
commit
bf8323e79b
6 files changed
+102
-60
No files matched your search
@@ -76,6 +76,14 @@ bool requires_auth_session(const admin::BTSUser& user)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if(user.user_data().exchange_user_data().has_ice_data())
|
||||
{
|
||||
for(const auto& i: user.user_data().exchange_user_data().ice_data().md_permissions())
|
||||
{
|
||||
if(i.enabled())
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user