#8336 [WebUI] "User attributes for SMB services" section always shown
Closed: fixed by rcritten. Opened by carbenium.

Issue

On the user details facet the "User attributes for SMB services" section is always shown,
although the code suggests otherwise.

Steps to Reproduce

  1. Open a user with ipaNTUserAttrs object class not set

Actual behavior

"User attributes for SMB services" section is shown

Expected behavior

"User attributes for SMB services" should be hidden.

Version/Release/Distribution

e668b61fd2843edc4863d39f9707fd7993571b2e

Additional info:

The cause of this problem is

  1. IPA.object_class_evaluator can't deal with batch rpc responses which the user details facet uses
  2. show_cond and likes are only implemented for actions but not normal widgets

PR for the first part of the issue: https://github.com/freeipa/freeipa/pull/4720

master:

  • f6707a71dcefd4b54d7909ad1ba9ba84f57c430a webui: hide user attributes for SMB services section if empty

ipa-4-8:

  • 691b3cddb275821630f443f22706fa75e7c7a5c8 webui: hide user attributes for SMB services section if empty

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

master:

  • df5526fbc71e9215456287dac396ca8a4d8082e3 WebUI: Make object_class_evaluator evaluator compatible with batch responses
  • 2d87cd4ae1bf0bd7814fb53bcfb8540e479d842b WebUI: Unify adapter property definition for state evaluators

ipa-4-6:

  • 351e971e73a4f7c7ba9d9fbf28181ea68bd5c8a9 WebUI: Make object_class_evaluator evaluator compatible with batch responses
  • 24fb3b876d28b1080696d5ff0c9ac57bdb5a848d WebUI: Unify adapter property definition for state evaluators

ipa-4-8:

  • a0518f7ff6ddc37887970af91c2575c15812fca8 WebUI: Make object_class_evaluator evaluator compatible with batch responses
  • 6f9c20ba7585e8f110806596806d292891682932 WebUI: Unify adapter property definition for state evaluators
Metadata