Fix condition for validating topic access rules
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
b03195ec72
commit
e0a9beb3cb
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ static DDS_Security_boolean validate_rules(const struct domain_rule *rule, DDS_S
|
|||
{
|
||||
/* Last but not least, check the domain ids (ex is set when there's a failure) */
|
||||
validate_domains(rule->domains->domain_id_set, ex);
|
||||
if (!rule->topic_access_rules && rule->topic_access_rules->topic_rule)
|
||||
if (!(rule->topic_access_rules && rule->topic_access_rules->topic_rule))
|
||||
DDS_Security_Exception_set(ex, DDS_ACCESS_CONTROL_PLUGIN_CONTEXT, DDS_SECURITY_ERR_IDENTITY_EMPTY_CODE, 0, "Found rule in Governance file without topic_access_rules");
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue