diff options
author | Pavel Zuna <pzuna@redhat.com> | 2010-03-16 15:06:07 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-03-22 10:41:36 -0400 |
commit | 43ab2c483d91dbac72b44b489fc5cf68a9f57d98 (patch) | |
tree | 7104990a2a17a14ddf91c53eb3876bde69588f83 /ipalib/frontend.py | |
parent | c19911845d93e4cbbf296caf18568231549a3e60 (diff) | |
download | freeipa-43ab2c483d91dbac72b44b489fc5cf68a9f57d98.tar.gz freeipa-43ab2c483d91dbac72b44b489fc5cf68a9f57d98.tar.xz freeipa-43ab2c483d91dbac72b44b489fc5cf68a9f57d98.zip |
Add INTERNAL flag to frontend plugins. If set, the plugin won't show in UI.
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r-- | ipalib/frontend.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py index 3727833a..48215c5d 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -201,6 +201,9 @@ class HasParam(Plugin): of ``api.env.context``, subclasses can override this with implementations that consider arbitrary ``api.env`` values. """ + # HasParam is the base class for most frontend plugins, that make it to users + # This flag should be used by UI components to make the plugin unaccessible + INTERNAL = False def _get_param_iterable(self, name, verb='takes'): """ |