mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-29 02:11:09 -06:00
030b5dab93
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. |
||
---|---|---|
.. | ||
plugins | ||
__init__.py | ||
aci.py | ||
backend.py | ||
base.py | ||
cli.py | ||
compat.py | ||
config.py | ||
constants.py | ||
crud.py | ||
encoder.py | ||
errors.py | ||
frontend.py | ||
ipauuid.py | ||
output.py | ||
parameters.py | ||
pkcs10.py | ||
plugable.py | ||
request.py | ||
rpc.py | ||
text.py | ||
util.py | ||
x509.py |