diff --git a/modules/webaccess/lib/Makefile.am b/modules/webaccess/lib/Makefile.am
index c8165728c..28fe55adb 100644
--- a/modules/webaccess/lib/Makefile.am
+++ b/modules/webaccess/lib/Makefile.am
@@ -1,28 +1,28 @@
## $Id$
## This file is part of the CERN Document Server Software (CDSware).
## Copyright (C) 2002 CERN.
##
## The CDSware 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; either version 2 of the
## License, or (at your option) any later version.
##
## The CDSware 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 CDSware; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
pylibdir=$(libdir)/python/cdsware
-pylib_DATA=access_control_variables.py access_control_engine.py access_control_admin.py webaccessadmin_lib.py
+pylib_DATA=access_control_engine.py access_control_config.py access_control_admin.py webaccessadmin_lib.py
EXTRA_DIST = $(wildcard *.wml)
CLEANFILES = $(pylib_DATA) *~ *.tmp *.pyc
%.py: %.py.wml ../../../config/config.wml ../../../config/configbis.wml
$(WML) -o $@ $<
\ No newline at end of file
diff --git a/modules/webaccess/lib/Makefile.am b/modules/webaccess/lib/access_control_config.py
similarity index 52%
copy from modules/webaccess/lib/Makefile.am
copy to modules/webaccess/lib/access_control_config.py
index c8165728c..4a0db9b4e 100644
--- a/modules/webaccess/lib/Makefile.am
+++ b/modules/webaccess/lib/access_control_config.py
@@ -1,28 +1,38 @@
## $Id$
+## CDSware Access Control Config in mod_python.
## This file is part of the CERN Document Server Software (CDSware).
## Copyright (C) 2002 CERN.
##
## The CDSware 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; either version 2 of the
## License, or (at your option) any later version.
##
## The CDSware 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.
+## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with CDSware; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-pylibdir=$(libdir)/python/cdsware
-pylib_DATA=access_control_variables.py access_control_engine.py access_control_admin.py webaccessadmin_lib.py
+"""CDSware Access Control Config. """
-EXTRA_DIST = $(wildcard *.wml)
+ ## okay, rest of the Python code goes below #######
-CLEANFILES = $(pylib_DATA) *~ *.tmp *.pyc
+__version__ = "$Id$"
-%.py: %.py.wml ../../../config/config.wml ../../../config/configbis.wml
- $(WML) -o $@ $<
\ No newline at end of file
+# VALUES TO BE EXPORTED
+# CURRENTLY USED BY THE FILES access_control_engine.py access_control_admin.py webaccessadmin_lib.py
+
+# name of the role giving superadmin rights
+SUPERADMINROLE = 'superadmin'
+# name of the action allowing roles to access the web administrator interface
+WEBACCESSACTION = 'accesswebadmin'
+# name of the action allowing roles to delegate the rights to other roles
+# ex: libraryadmin to delegate libraryworker
+DELEGATEADDUSERROLE = 'delegate_adduserrole'
+
+
diff --git a/modules/webaccess/lib/Makefile.am b/modules/webaccess/lib/access_control_config.py.wml
similarity index 52%
copy from modules/webaccess/lib/Makefile.am
copy to modules/webaccess/lib/access_control_config.py.wml
index c8165728c..4a0db9b4e 100644
--- a/modules/webaccess/lib/Makefile.am
+++ b/modules/webaccess/lib/access_control_config.py.wml
@@ -1,28 +1,38 @@
## $Id$
+## CDSware Access Control Config in mod_python.
## This file is part of the CERN Document Server Software (CDSware).
## Copyright (C) 2002 CERN.
##
## The CDSware 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; either version 2 of the
## License, or (at your option) any later version.
##
## The CDSware 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.
+## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with CDSware; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-pylibdir=$(libdir)/python/cdsware
-pylib_DATA=access_control_variables.py access_control_engine.py access_control_admin.py webaccessadmin_lib.py
+"""CDSware Access Control Config. """
-EXTRA_DIST = $(wildcard *.wml)
+ ## okay, rest of the Python code goes below #######
-CLEANFILES = $(pylib_DATA) *~ *.tmp *.pyc
+__version__ = "$Id$"
-%.py: %.py.wml ../../../config/config.wml ../../../config/configbis.wml
- $(WML) -o $@ $<
\ No newline at end of file
+# VALUES TO BE EXPORTED
+# CURRENTLY USED BY THE FILES access_control_engine.py access_control_admin.py webaccessadmin_lib.py
+
+# name of the role giving superadmin rights
+SUPERADMINROLE = 'superadmin'
+# name of the action allowing roles to access the web administrator interface
+WEBACCESSACTION = 'accesswebadmin'
+# name of the action allowing roles to delegate the rights to other roles
+# ex: libraryadmin to delegate libraryworker
+DELEGATEADDUSERROLE = 'delegate_adduserrole'
+
+