User story #11957
openMake some parameters optionnal in generic methods
Description
Hello
In the technique editor, when creating a new technique the form fields are mandatory. Would it be possible to have some optional parameters?
I would like to be able to define the path, the mode and the recursion without necessarily seizing the owner, the group and the type
ideally, it could be very interesting for these parameters to be configurable in the directives library. it would make the techniques created in the editor more generic and manipulable in the library of directives
rudder server 4.1.7
generic method: permissions type recursion
Updated by Benoît PECCATTE almost 7 years ago
- Target version set to Ideas (not version specific)
Updated by Benoît PECCATTE over 6 years ago
- Subject changed from optionnal parameters into technique editor to optionnal parameters in generic methods
Updated by Alexis Mousset over 6 years ago
- Project changed from Rudder to 41
- Subject changed from optionnal parameters in generic methods to Make some parameters optionnal in generic methods
- Category set to Generic methods
It is actually possible (as in package_present for example), but not implemented for most methods.
It is easy to add default values, more difficult to allow not modifying some properties when not specified.
Updated by Benoît PECCATTE about 3 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods