filter rules

Mar 28, 2019
3
0
21
51
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!