1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

documented and cleaned up the aclmanager.py2

This commit is contained in:
John Berlin 2019-04-03 18:06:57 -04:00
parent 1a7fdd0d70
commit 41c37129c0
No known key found for this signature in database
GPG Key ID: 6EF5E4B442011B02

View File

@ -149,7 +149,7 @@ class ACLManager(CollectionsManager):
def validate_access(self, access):
"""Returns true if the supplied access value is valid
otherwise the terminates the process
otherwise terminates the process
:param str access: The access value to be validated
:return: True if valid
@ -174,7 +174,7 @@ class ACLManager(CollectionsManager):
:param str url: The URL for the rule
:param str access: The access value for the rule
:param bool exact_match: Is the rule an absolute value
:param bool exact_match: Is the rule to be added an exact match
:rtype: None
"""
if not self.validate_access(access):