Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
2.1.1
-
None
Description
I used some other "no value" attributes as marker for membership and it worked fine (to mark them as "system of record"), but in this case a Boolean would be more appropriate : I want to add an attribute to my configuration group (similar to a Loader LDAP configuration group) that will enable or disable part of the process.
I could test if a mandatory attribute for that specific process is there to enable or disable it, but that would mean I would "lose" this configuration and I'll have to redo it when I want to turn it back on. I believe it's a little more user-friendly to have clear indicator telling the status than having to figure it out based on the value or presence of other attribute.
When assigning a value to a Boolean Type attribute instead of a textbox you would have either a checkbox or a combo box with something like True/False or Yes/No
De : Chris Hyzer
Envoyé : 1 août 2012 11:23
À : Gagné Sébastien;
Objet : RE: AttributeDef Value Type : boolean
I was considering a "marker" as a boolean... i.e. if you have it assigned, its true, if not, then false. This would be a checkbox in a UI, like "types" are in the old-school Grouper types/attributes. You want to assign an attribute and then put true or false on it? Can you explain a use case a little more?
Thanks,
Chris
From: On Behalf Of Gagné Sébastien
Sent: Wednesday, August 01, 2012 9:37 AM
To:
Subject: [grouper-dev] AttributeDef Value Type : boolean
Hello,
Is there a reason why there is no Boolean value type in the AttributeDef creation ? Is it something that can/will be added in the future ?
Right now I'll use a string with litteral "True" and "False" values (or "aye /nay"), but it could be more user-friendly with a check-box Value in the UI.
Thanks
Sébastien Gagné, | Analyste en informatique
Université de Montréal, |
Pavillon Roger-Gaudry, local X-100-11 |