filter rules

Armando Andrade Díaz

Active Member
Mar 28, 2019
3
0
41
52
Hello
just one single question:

When we create a rule, and we previously define who objects, to use in from part ob used objects, when two objects are used in the from parts the who objects are parsed as OR operator this who object OR that who object, and I need to declare this as an AND operator, this who object AND that who object, is there any way to achieve this?
Captura de pantalla de 2019-03-27 19-00-22.png
thank you in advance...
 
Hi,
currently this is not possible within PMG (you could open an enhancement request at https://bugzilla.proxmox.com if you like).

As a workaround - and if you're using the LDAP/AD integration - you could try to create one LDAP group containing only objects being in both groups and use that as a From object.

hope this helps!
 
  • Like
Reactions: linushstge
thank you, I will ask for that enhancement, in the midtime, I think I could do a little script that reads those who objects and create a demidynamic (via cron or something) object who with those conditions, and update this object via api or something, i just need to know where or how in the db, this objects are stored...

can you give us a hint?

thank you in advance