"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/vcauth/__init__.py" between
viewvc-1.1.28.tar.gz and viewvc-1.2.1.tar.gz

About: ViewVC is a browser interface for CVS and Subversion version control repositories.

__init__.py  (viewvc-1.1.28):__init__.py  (viewvc-1.2.1)
skipping to change at line 15 skipping to change at line 15
# By using this file, you agree to the terms and conditions set forth in # By using this file, you agree to the terms and conditions set forth in
# the LICENSE.html file which can be found at the top level of the ViewVC # the LICENSE.html file which can be found at the top level of the ViewVC
# distribution or at http://viewvc.org/license-1.html. # distribution or at http://viewvc.org/license-1.html.
# #
# For more information, visit http://viewvc.org/ # For more information, visit http://viewvc.org/
# #
# ----------------------------------------------------------------------- # -----------------------------------------------------------------------
"""Generic API for implementing authorization checks employed by ViewVC.""" """Generic API for implementing authorization checks employed by ViewVC."""
import string
import vclib
class GenericViewVCAuthorizer: class GenericViewVCAuthorizer:
"""Abstract class encapsulating version control authorization routines.""" """Abstract class encapsulating version control authorization routines."""
def __init__(self, root_lookup_func=None, username=None, params={}): def __init__(self, root_lookup_func=None, username=None, params={}):
"""Create a GenericViewVCAuthorizer object which will be used to """Create a GenericViewVCAuthorizer object which will be used to
validate that USERNAME has the permissions needed to view version validate that USERNAME has the permissions needed to view version
control repositories (in whole or in part). control repositories (in whole or in part).
ROOT_LOOKUP_FUNC is a function that maps a root name to a 2-tuple ROOT_LOOKUP_FUNC is a function that maps a root name to a 2-tuple
containing the root's type and path. containing the root's type and path.
 End of changes. 1 change blocks. 
3 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)