summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-04-22 14:30:05 -0400
committerRob Crittenden <rcritten@redhat.com>2009-04-24 16:22:22 -0400
commit298d5fbce48411d591a3a6ce39ee08ca817866d4 (patch)
treea914882addb9d82311282bcc614f174b2b2130f9
parent7d0bd4b8951ef7894668ad3c63607769e208c9d0 (diff)
downloadfreeipa-298d5fbce48411d591a3a6ce39ee08ca817866d4.tar.gz
freeipa-298d5fbce48411d591a3a6ce39ee08ca817866d4.tar.xz
freeipa-298d5fbce48411d591a3a6ce39ee08ca817866d4.zip
Import the RequiresRoot error and make note to replace this at some point
-rw-r--r--TODO3
-rw-r--r--ipalib/frontend.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/TODO b/TODO
index 1e5d8dc0f..5d8b23805 100644
--- a/TODO
+++ b/TODO
@@ -84,6 +84,9 @@ Command Line interface:
* Add a file option 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
+
Improve ease of plugin writting
- make "from ipalib import *" import everything a plugin writter will need
diff --git a/ipalib/frontend.py b/ipalib/frontend.py
index aeae24ca0..27c856956 100644
--- a/ipalib/frontend.py
+++ b/ipalib/frontend.py
@@ -28,7 +28,7 @@ from plugable import lock, check_name
from parameters import create_param, Param, Str, Flag, Password
from util import make_repr
-from errors import ZeroArgumentError, MaxArgumentError, OverlapError
+from errors import ZeroArgumentError, MaxArgumentError, OverlapError, RequiresRoot
from constants import TYPE_ERROR