summaryrefslogtreecommitdiff
path: root/tests/acl-with-group.scm
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-06-15 19:02:39 +0200
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-18 16:52:28 +0200
commitb24dd9740c80d7ee2fb125171a9d9a1e9f1218a8 (patch)
treefc6049a86e9caf1b60e4151113c1bcc50d9881ea /tests/acl-with-group.scm
parent3df56eb61c455e713a7925130884e2dade60bdb6 (diff)
Implement WAC
Diffstat (limited to 'tests/acl-with-group.scm')
-rw-r--r--tests/acl-with-group.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/acl-with-group.scm b/tests/acl-with-group.scm
new file mode 100644
index 0000000..210cc21
--- /dev/null
+++ b/tests/acl-with-group.scm
@@ -0,0 +1,11 @@
+(define (http-get uri)
+ (unless (equal? uri
+ (string->uri "https://group-server.example.com/the#group"))
+ (exit 1)
+ (values
+ (build-response #:headers '((content-type text/turtle)))
+ "@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.
+
+<#group> a vcard:Group;
+ vcard:hasMember <https://other-user.example.com/profile/card#me> .
+")))