Use references from URI regexp in rules
The idea is to catch a string in the uri to be used in the rule, like :
/groupe-(\d+) => $groups =~ /groupe$1/
This need to be done in all modules that use the "grant" function. Seems not really easy, planning this for a later release