#2025 Inconsistent way to show boolean values
Closed: fixed a year ago by rcritten. Opened 12 years ago by edewata.

In some attributes such as ipaenabledflag, the boolean values are represented in strings with all caps (i.e. TRUE/FALSE) because that's how boolean is defined in LDAP. However, the following attributes use plain boolean values which will be displayed in mixed case in Python (CLI) and lower case in JavaScript (UI).
- nsaccountlock
- has_keytab
- has_password

All boolean values should be displayed in a consistent way in CLI and UI.

The boolean values in the metadata right now probably doesn't need to follow the same rule because they are meant to be used internally and not exposed to the user. However, when ticket #2005 is implemented the metadata will be exposed to the admin who will customize IPA via CLI/UI, so this might become an issue again.


Seems like this ticket can be deferred.

Pushing it to NEEDS_TRIAGE for reevaluation.

Metadata Update from @edewata:
- Issue assigned to jcholast
- Issue set to the milestone: Future Releases

7 years ago

Metadata Update from @rcritten:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata