diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-26 23:15:46 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-27 00:17:52 +0200 |
commit | 7672491a3374d0dce45a0a9db2ab2cc4a7dd2944 (patch) | |
tree | 3980a7e538c73feeb986f173d1ec3da745949b6b /tests/acl.scm | |
parent | 1b7a485bbd05802432539984f3df078b5b8134ac (diff) |
ACL: handle non-existing resources
Diffstat (limited to 'tests/acl.scm')
-rw-r--r-- | tests/acl.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/acl.scm b/tests/acl.scm index b582b17..4249e6e 100644 --- a/tests/acl.scm +++ b/tests/acl.scm @@ -53,6 +53,7 @@ ;; /docs/ can only be updated by Alice and the public can list ;; /docs/file1 can only be updated by Alice, but public ;; /docs/file2 same, but authenticated + ;; /fiction/file does not exist, so /#default applies ;; /private-docs/ private to Alice, no ACL ;; /private-docs/file1 no ACL (so, readable by the FBI as inherited in /) ;; /private/docs/file2 no ACL (so, not readable by the FBI) @@ -179,6 +180,7 @@ ;; /docs/ RWC R R R ;; /docs/file1 RWC R R R ;; /docs/file2 RWC R R X + ;; /fiction/file RWC X X X ;; /private-docs/ RWC X X X ;; /private-docs/file1 RWC X RW X ;; /private-docs/file2 RWC X X X @@ -244,6 +246,7 @@ (run-test "/docs/" RWC R R R) (run-test "/docs/file1" RWC R R R) (run-test "/docs/file2" RWC R R X) + (run-test "/fiction/file" RWC X X X) (run-test "/private-docs/" RWC X X X) (run-test "/private-docs/file1" RWC X RW X) (run-test "/private-docs/file2" RWC X X X))))))))) |