freeipa/ipalib
Adam Young 030b5dab93 Change the behaviour of addattr/setattr parameters.
setattr and addattr can now be used both to set all values of
ANY attribute. the last setattr always resets the attribute to
the specified value and all addattr append to it.

Examples:
user-mod testuser --setattr=title=msc
  title: msc
user-mod testuser --setattr=title=msb
  title: msb
user-mod testuser --addattr=title=msc
  title: msb, msc
user-mod testuser --setattr=title=
  title:
user-mod testuser --setattr=title=msc --addattr=msb
  title: msc, msb
user-mod testuser --setattr=title=ing --addattr=bc
  title: ing, bc
user-mod testuser --setattr=title=doc
  title: doc

It's not very user friendly, but it's going to be used very very
rarely in special conditions in the CLI and we can use it to save
lots of JSON-RPC roundtrips in the webUI.

This version includes calling the validation of Params during the setting of the attrs.
2010-08-13 16:20:41 -04:00
..
plugins Change the behaviour of addattr/setattr parameters. 2010-08-13 16:20:41 -04:00
__init__.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
aci.py Fix two bugs: one in parsing the ACI and one in comparing two ACIs 2009-11-25 09:38:33 -07:00
backend.py Connect the -v cli argument to the verbose flag in xmlrpclib 2010-06-03 17:08:22 -04:00
base.py Allow one-character Param names 2010-02-12 13:14:29 -07:00
cli.py Fix output for commands that do not return entries. 2010-03-26 16:56:47 -04:00
compat.py Add sha1, md5 to compat 2010-02-12 17:20:46 -05:00
config.py Fix unicode failures in Env tests and dn failures in XML-RPC tests 2010-02-26 12:31:11 -05:00
constants.py This patch removes the existing UI functionality, as a prep for adding the Javascript based ui. 2010-07-29 10:44:56 -04:00
crud.py Fix non XML-RPC tests 2010-02-19 18:10:37 -05:00
encoder.py Prevent double encoding/decoding when processing compound types. 2009-08-03 23:00:17 -06:00
errors.py Allow decoupling of user-private groups. 2010-08-10 16:41:47 -04:00
frontend.py Change the behaviour of addattr/setattr parameters. 2010-08-13 16:20:41 -04:00
ipauuid.py Fix deprecation error importing sha 2010-02-12 17:08:27 -05:00
output.py localize doc strings 2010-03-08 21:10:36 -07:00
parameters.py Improve serialization to JSON. 2010-08-12 09:06:22 -04:00
pkcs10.py Drop our own PKCS#10 ASN.1 decoder and use the one from python-nss 2010-07-29 10:50:10 -04:00
plugable.py Handle errors raised by plugins more gracefully in mod_wsgi. 2010-07-12 09:32:33 -04:00
request.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
rpc.py use NSS for SSL operations 2010-06-15 15:03:36 -04:00
text.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
util.py Improve serialization to JSON. 2010-08-12 09:06:22 -04:00
x509.py Use newer API in ipalib/x509 and add missing import. 2010-07-15 11:17:58 -04:00