#4387 Description attribute should not be required
Closed: Fixed None Opened 9 years ago by pspacek.

LDAP attribute description (OID 2.5.4.13) is always optional in LDAP schema but IPA UI forces user to enter something.

I have noticed this problem with permission-add, privilege-add and role-add commands but I suspect that the same applies to many other IPA commands.


I would also like to vouch for this proposal, current setup does not make much sense to me, we do not require description for anything, it is just optional additional information on top of the name,

Might affect documentation.

I think simple

$ sed -i "s/Str[(]'description'/Str('description?'/g" ipalib/plugins/*.py
  • checking that changed params do not also have "required" set to false (like in automouint) + API.txt regeneration + checking unit tests should do the trick.

master:

  • cd9a4cc Do not require description in UI.

ipa-4-1:

  • b69510b Do not require description in UI.

Metadata Update from @pspacek:
- Issue assigned to dkupka
- Issue set to the milestone: FreeIPA 4.1

7 years ago

Login to comment on this ticket.

Metadata