Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(acl): service_id is no longer NULL #7004

Closed
wants to merge 1 commit into from
Closed

Conversation

lpinsivy
Copy link
Contributor

Since PR #6366, all values for host are: <host_id>,0 and not <host_id>,NULL

Since PR #6366, all values for host are: <host_id>,0 and not <host_id>,NULL
@@ -241,7 +241,7 @@
if (!$centreon->user->admin) {
$aclFrom = ", {$aclDbName}.centreon_acl acl";
$aclCond =
' AND h.host_id = acl.host_id AND acl.service_id IS NULL '
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On my platform, service_id is NULL
I don't understand when it can be 0, cause default value of this column is NULL

@lpinsivy lpinsivy closed this Mar 6, 2019
@lpinsivy lpinsivy deleted the lpinsivy-patch-3 branch August 30, 2019 09:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants