From 5363e6d9a53146333da0d109aae170befc1b9481 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 12 Feb 2013 07:48:33 -0500 Subject: Added client ACLs: * IP and CIDR-based ACLs * Metadata (group/hostname)-based ACLs * Documentation * Unit tests --- schemas/acl-metadata.xsd | 79 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 schemas/acl-metadata.xsd (limited to 'schemas/acl-metadata.xsd') diff --git a/schemas/acl-metadata.xsd b/schemas/acl-metadata.xsd new file mode 100644 index 000000000..7d996fb87 --- /dev/null +++ b/schemas/acl-metadata.xsd @@ -0,0 +1,79 @@ + + + + Schema for metadata-based client ACLs: + :ref:`server-plugins-misc-acl` ``metadata.xml`` + + + + + + + + + An **MetadataACLGroupType** is a tag used to provide logic. + Child entries of a MetadataACLGroupType tag only apply to + machines that match the condition specified -- either + membership in a group, or a matching client name. + :xml:attribute:`MetadataACLGroupType:negate` can be set to + negate the sense of the match. + + + + + + + The name of the client or group to match on. Child entries + will only apply to this client or group (unless + :xml:attribute:`MetadataACLGroupType:negate` is set). + + + + + + + Negate the sense of the match, so that child entries only + apply to a client if it is not a member of the given group + or does not have the given name. + + + + + + + + + + + The name of the XML-RPC method to allow or deny. Limited + wildcards are supported. + + + + + + + + + + Top-level tag for describing metadata-based client ACLs. + + + + + + + + + + + + + + + + + + -- cgit v1.2.3-1-g7c22 From 088ca5fee4cc99f9143f18a880cdec6712326e1e Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 12 Feb 2013 09:47:04 -0500 Subject: fixed unit tests --- schemas/acl-metadata.xsd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'schemas/acl-metadata.xsd') diff --git a/schemas/acl-metadata.xsd b/schemas/acl-metadata.xsd index 7d996fb87..68994c940 100644 --- a/schemas/acl-metadata.xsd +++ b/schemas/acl-metadata.xsd @@ -21,7 +21,7 @@ negate the sense of the match. - + @@ -61,11 +61,11 @@ Top-level tag for describing metadata-based client ACLs. - + - + -- cgit v1.2.3-1-g7c22