GIT Log for 2009-03-29 23:33 GMT
Arran Cudbard-Bell
A.Cudbard-Bell at sussex.ac.uk
Mon Mar 30 13:54:37 CEST 2009
On 30/3/09 10:29, Arran Cudbard-Bell wrote:
> On 30/3/09 08:01, Alan DeKok wrote:
>> Arran Cudbard-Bell wrote:
>>> Wait... shouldn't this be -* (and -~) ?
>>
>> There's a -* ?
>>
>
> No but there's a -=,
* wouldn't -=*/-* make more sense ?
>
>> Or, what would be a bit more sane:
>>
>> filter permit { # permits only these
>> Foo = bar
>> ...
>> }
>>
>>
>> filter delete {
>> Foo == bar # delete all matching
>> }
>>
>
Actually that's quite neat. I guess the list this was applied to would
depend on the section it was listed under ?
Lets you move policy out of the business logic which is nice :)
Still not sure about that '==' though.
>
> Which attribute list are those being applied to?
>
> Personally I think prefixing *all* the attribute removal operators with
> '-' would allow users to better deduce their meaning.
>
> For example, I can see the logic behind '==' removing every attribute
> that doesn't match, but I think it would be easier for the layman to
> infer what -!= does.
>
> Most of the time I can see method to the madness, just not with
> attribute removal operators :)
>
> Arran
--
Arran Cudbard-Bell (A.Cudbard-Bell at sussex.ac.uk),
Authentication, Authorisation and Accounting Officer,
Infrastructure Services (IT Services),
E1-1-08, Engineering 1, University Of Sussex, Brighton, BN1 9QT
DDI+FAX: +44 1273 873900 | INT: 3900
GPG: 86FF A285 1AA1 EE40 D228 7C2E 71A9 25BB 1E68 54A2
More information about the Freeradius-Devel
mailing list