2.2.3.5.1.5.1 Classifier Delegation
The following rules MUST be used to determine whether a given classifier and role are legal based on a delegator's classifier list:
If the delegator's classifier list is empty, then any given classifier and role are legal.
Otherwise, if the specified role is either roleAdmin or roleInvitingMember, the given classifier MUST either match a classifier in the delegator's classifier list or begin with a classifier in the delegator's classifier list.
Otherwise, the given classifier MUST match a classifier in the delegator's classifier list exactly.
The following table shows some examples.
|
Delegator's classifier list |
Specified role is either roleAdmin or roleInvitingMember? |
Valid classifiers |
Invalid classifiers |
|---|---|---|---|
|
<empty> |
Either Yes or No |
All classifiers (including <empty list>) |
None |
|
"", "fish" |
Yes |
All classifiers (including <empty list>) |
None |
|
"", "fish" |
No |
"", "fish" |
<empty list>, "fish food" |
|
"fish", "cheese" |
Yes |
"fish", "fish food", "cheese", "cheese-like" |
<empty list>, "cheese", "ham" |
|
"fish", "cheese" |
No |
"fish", "cheese" |
<empty list>, "fish food", "cheese-like" |