FR: Distribute components of HideExpiration Preference to other preferences
Referencing #127 (closed) was just testing the new HideExpiration
preference and noticed that when the expiration is hidden from the menu bar, NoMAD assumes the Password does not expire in order to disable expiration notifications.
I can see a scenario though where you want to keep the menu bar clean but still have password expiration data and notifications.
My ultimate goal in our environment is accuracy of information when HideExpiration
is enabled, but understand other people's desire to control notifications, for example. Therefore, I think the HideExpiration
preference in its current form controls and assumes a bit too much.
Is there a way to improve the behavior so that more scenarios are possible / allowable through NoMAD preferences?
My thoughts on how this could work:
HideExpiration
- Would hide the menu bar expiration days as is currently enabled by HideExpiration, but only that
- It would be a nice expansion to have this particular preference be a checkbox in NoMAD preferences just like "Use Keychain", "Show Home Folder" and "Renew Ticket" are now.
HideExpirationMenu
- Would show/hide the expiration days menu item that's listed under the username when NoMAD is selected. With the current
HideExpiration
, this is enabled but incorrectly indicates that the password does not expire.
HideExpirationAlerts
- Would enable/disable NoMAD notifications about password expirations.
- This might also benefit from a checkbox in NoMAD preferences.
Separating this out would offer more flexibility for different environments than I feel is currently available with the HideExpiration
preference.