summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-gui/ipagui/subcontrollers/policy.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/subcontrollers/policy.py')
-rw-r--r--ipa-server/ipa-gui/ipagui/subcontrollers/policy.py49
1 files changed, 0 insertions, 49 deletions
diff --git a/ipa-server/ipa-gui/ipagui/subcontrollers/policy.py b/ipa-server/ipa-gui/ipagui/subcontrollers/policy.py
deleted file mode 100644
index 8b905335..00000000
--- a/ipa-server/ipa-gui/ipagui/subcontrollers/policy.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright (C) 2007 Red Hat
-# see file 'COPYING' for use and warranty information
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; version 2 only
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-
-import os
-from pickle import dumps, loads
-from base64 import b64encode, b64decode
-import copy
-import logging
-
-import cherrypy
-import turbogears
-from turbogears import controllers, expose, flash
-from turbogears import validators, validate
-from turbogears import widgets, paginate
-from turbogears import error_handler
-from turbogears import identity
-
-from ipacontroller import IPAController
-from ipa.entity import utf8_encode_values
-from ipa import ipaerror
-
-import ldap.dn
-
-log = logging.getLogger(__name__)
-
-class PolicyController(IPAController):
-
- @expose("ipagui.templates.policyindex")
- @identity.require(identity.in_group("admins"))
- def index(self, tg_errors=None):
- """Displays the one policy page"""
-
- # TODO: return a dict of the items and URLs to display on
- # Manage Policy
- return dict()