[Freeipa-devel] [PATCH] 199 Permissions: select only applicable options on type change

Petr Vobornik pvoborni at redhat.com
Wed Aug 22 12:17:29 UTC 2012


Problem:
  When a permission is edited, and Type switched, the attributes 
selected for previous Type are still selected, and update fails, if they 
are invalid for the new Type. But it should get deselected or not even 
listed if Type changes.

Fix:
  When Type is changed, attribute list is refreshed and still applicable 
attributes are chosen. If Type is reverted back, previously chosen 
attributes are back as chosen.

  If attributes are extended outside Web UI by not listed attr, this 
attr is listed at the list end.

Note:
  If user makes change in attribute list before type change, this change 
is forgotten.

https://fedorahosted.org/freeipa/ticket/2617
-- 
Petr Vobornik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0199-Permissions-select-only-applicable-options-on-type-c.patch
Type: text/x-patch
Size: 6022 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120822/0f37bd6d/attachment.bin>


More information about the Freeipa-devel mailing list