• Danielle Tomlinson's avatar
    acl: Add support for globbing namespaces · 36d1045e
    Danielle Tomlinson authored
    This commit adds basic support for globbing namespaces in acl
    definitions.
    
    For concrete definitions, we merge all of the defined policies at load time, and
    perform a simple lookup later on. If an exact match of a concrete
    definition is found, we do not attempt to resolve globs.
    
    For glob definitions, we merge definitions of exact replicas of a glob.
    
    When loading a policy for a glob defintion, we choose the glob that has
    the closest match to the namespace we are resolving for. We define the
    closest match as the one with the _smallest character difference_
    between the glob and the namespace we are matching.
    36d1045e