In the spec, I can find the following definition / info
List of ABAC attributes that the access control list depends on. The list contains definitions for individual attributes or pre-defined attribute groups introduced with DEFATTRIBUTES. Attributes are described in Attributes. Source
describes an ABAC attribute which is to be used in an ACL Source
These definitions are quite vague and it is not clear what attributes actually are, how they are intended to be used.
Based on the CLAIM attribute I assumed, that each claim that will later be used in the FORMULA section must be define/listed in the ATTRIBUTE section. Although not formally defined anywhere in the specification, this is what all examples do.
However, this is not the case for any usage of GLOBAL or REFERENCE attributes such as GLOBAL(UTCNOW) in the examples. Those are used directly in the FORMULA without ever being listed in the ATTRIBUTES section.
This seems inconsistent and I cannot see anything in the specification explaining how this is intended to work and what putting something in ATTRIBUTES actually means.
In fact, I would argue that the whole concept of having an ATTRIBUTES section seems redundant and can/should be removed completely as the FORMULA section already contains all that information.
In the spec, I can find the following definition / info
These definitions are quite vague and it is not clear what attributes actually are, how they are intended to be used.
Based on the
CLAIMattribute I assumed, that each claim that will later be used in theFORMULAsection must be define/listed in theATTRIBUTEsection. Although not formally defined anywhere in the specification, this is what all examples do.However, this is not the case for any usage of
GLOBALorREFERENCEattributes such asGLOBAL(UTCNOW)in the examples. Those are used directly in theFORMULAwithout ever being listed in theATTRIBUTESsection.This seems inconsistent and I cannot see anything in the specification explaining how this is intended to work and what putting something in
ATTRIBUTESactually means.In fact, I would argue that the whole concept of having an
ATTRIBUTESsection seems redundant and can/should be removed completely as theFORMULAsection already contains all that information.