Skip to main content

acl_resource_match

Function acl_resource_match 

Source
pub fn acl_resource_match(
    pattern: AclPatternKind,
    facts: AclResourceFacts,
) -> bool
Expand description

Match an ACL resource type and literal or prefixed name pattern.

Kafka’s AclAuthorizer.matchingAcls: a LITERAL ACL applies to its exact name and, when that name is *, to every name; a PREFIXED ACL applies to every name that starts with its name. Neither applies across resource types.