jfquestiaux
Well-Known Member
I have several ACL groups, all direct children of the "Public" group (Joomla! won't you create a group that has not at least "Public" as parent).
I have one list with published and unpublished records (using a "yesno" element).
I want everybody, "Public" and all ACL groups EXCEPT the "Administration" group, to see only the published records. "Administration" should see all records.
I thought this would work:
WHERE published EQUALS 1 apply to Public
OR published EQUALS 1 apply to Administration (grouped No)
OR published EQUALS 0 apply to Administration (grouped Yes)
but it does not. In fact, as soon as I set the first pre-filter (apply to Public), all the child groups have this pre-filter applied (even SuperAdmin)
Is it the expected behavior? If so, is there another alternative than having a duplicate of the list with a different pre-filter?
This is tested with GitHub 613
I have one list with published and unpublished records (using a "yesno" element).
I want everybody, "Public" and all ACL groups EXCEPT the "Administration" group, to see only the published records. "Administration" should see all records.
I thought this would work:
WHERE published EQUALS 1 apply to Public
OR published EQUALS 1 apply to Administration (grouped No)
OR published EQUALS 0 apply to Administration (grouped Yes)
but it does not. In fact, as soon as I set the first pre-filter (apply to Public), all the child groups have this pre-filter applied (even SuperAdmin)
Is it the expected behavior? If so, is there another alternative than having a duplicate of the list with a different pre-filter?
This is tested with GitHub 613