freeipa/TODO
Jan Cholasta 135ccf89de Parse comma-separated lists of values in all parameter types. This can be enabled for a specific parameter by setting the "csv" option to True.
Remove "List" parameter type and replace all occurences of it with appropriate
multi-valued parameter ("Str" in most cases) with csv enabled.

Add new parameter type "Any", capable of holding values of any type. This is
needed by the "batch" command, as "Str" is not suitable type for the "methods"
parameter.

ticket 2007
2011-11-30 17:08:35 +01:00

89 lines
3.1 KiB
Plaintext

General ipalib/ipaserver improvements
-------------------------------------
* Port any commands still using old crud base classes to new crud base
classes, and then remove old crud base classes.
* Add a Command.backend convenience attribute that checks if the class
uses_backend attribute is sets the Command.backend attribute like this:
self.backend = self.Backend[self.uses_backend]
* Possibly generalize current Plugin.call() method (makes subprocess calls).
Probably should renamed this so it's not confused with Command.execute()...
maybe Plugin.subprocess_call()?.
* Add special logging methods to Plugin baseclass for authorization events
(escalation, de-escalation, and denial)... need to talk to John about this.
* Implement remaining missing features for full gettext service.
* Add ability to register pre-op, post-op plugins per command.
* Change Command so it filters args/options according to the Param.limit_to
kwarg (used to restrict certain params only to client or only to server).
* Add ability to have a post-processing step that only gets called
client-side. It should have a signature like output_for_cli() minus the
textui argument. Need to decide whether we allow this method to modify
the return value. (Use case still isn't very defined.)
* Improve CLI help to take advantange of the fact that command docstrings are
now split into summary and details.
* Remove remaining __getattr__() use in ipalib.plugable.
CRUD base classes
-----------------
* The Retrieve method should add in the common Flag('all') option for
retrieving all attributes.
* We probably need some LDAP centric crud method base classes, like
LDAPCreate, etc. Or other options it to have an LDAPObject base class and
have the crud Method plugins rely more on their corresponding Object plugin.
Existing plugins
----------------
* Many existing plugins that are doing crud-type operations aren't using the
Object + Method way of defining their parameters, and are therefore defining
the exact same parameter several times in a module. This should be fixed
one way or another... if there are deficiencies in the crud base classes,
they need to be improved.
Command Line interface
----------------------
* Further enhance textui plugin
* Make possible Enum values self-documenting... this might require writing our
own replacement for optparse. The isn't way to make optparse deal with the
global options the way Jason would like, so that's another motivation.
* Add a File param type so an argument may be read from a file. This is
needed for cert-request to pass along the CSR.
* Replace RequiresRoot() with more fine-grained control based on the
files that need to be read/written
Packaging
---------
* Use setuptools instead of plain distutils
* Make setup.py generate dev-docs and run unit tests
* Package for deb/apt (debian/ dir)
Migration
---------
* Add the IPAService objectclass to existing principals
* Move existng host/ principals from cn=services to cn=computers?