Adding support for IP/netmask notation for users and grants