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-19 15:44:36 +0200
commitc8d7e4d3bb40b878648506b50d7b6bc3aab537f0 (patch)
treed9d4da0d3331c791365c279c37d11282f49fff6b /tests/acl-with-group.scm
parent649c7dd779c0000b8df6bef35cf23b323e3b27df (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> .
+")))