• Resolved claudiamvh

    (@claudiamvh)


    Hi,

    I’m trying to create an user level which for example is allowed to see categories ‘A’ and ‘B’, but only when the posts in it don’t have a tag containing ‘technical’. So, the rule should be:

    Category A
    Category B
    AND where tag != ‘technical’

    I can’t seem to find how to make both positive and negative rules, though, because I can either make a group all positive OR all negative. When I try to add a new group, it automatically makes ‘OR’ instead of ‘AND’. Is there any way to achieve what I want or should I do it in some other way?

    Thanks in advance!

    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter claudiamvh

    (@claudiamvh)

    Anyone?

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Hi,

    As you have found, since each group uses OR, negated groups will be OR NOT which I agree is not very useful when combining with other conditions. I have thought about modifying the logic so negated conditions will always be AND NOT, but currently looking into removing negated conditions altogether (in favor of something more flexible).

    I think I can make a snippet that would turn negated conditions into using AND NOT (it would still say OR NOT in the UI), so let me look into that and get back to you.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    After having looked into it, unfortunately the behavior of negated conditions cannot feasibly be altered to AND NOT with a snippet.

    Please reach out via https://dev.institute/contact/ if you would be interested in testing a possible successor to negated conditions.

    Thread Starter claudiamvh

    (@claudiamvh)

    Hi Joachim,

    Thanks for getting into it! Too bad it’s a little hard to quickly fix it, but I really appreciate that you’ve looked at it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Access conditions Positive AND negative’ is closed to new replies.