diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-25 17:02:42 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-06-27 00:17:52 +0200 |
commit | d4ba8350e1c821e8a262ab3e84e440069069e34a (patch) | |
tree | fbaf75b4f5f37b3fdf212ba6bb727325a125b56a /doc | |
parent | 7672491a3374d0dce45a0a9db2ab2cc4a7dd2944 (diff) |
WAC: add auxiliary functions to check the well-known modes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/webid-oidc.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/webid-oidc.texi b/doc/webid-oidc.texi index ccb6e25..5900256 100644 --- a/doc/webid-oidc.texi +++ b/doc/webid-oidc.texi @@ -643,6 +643,16 @@ whatsoever, bypassing WAC. Otherwise, it is possible to steal control away from the data owner. @end deffn +@deffn function check-acl-can-read @var{server-name} @var{path} @var{owner} @var{user} @var{[#:http-get]} +@deffnx function check-acl-can-write @var{server-name} @var{path} @var{owner} @var{user} @var{[#:http-get]} +@deffnx function check-acl-can-append @var{server-name} @var{path} @var{owner} @var{user} @var{[#:http-get]} +@deffnx function check-acl-can-control @var{server-name} @var{path} @var{owner} @var{user} @var{[#:http-get]} +Assert that the resource at @var{path} on @var{server-name} is owned +by @var{owner}, and check that @var{user} has the proper +authorization. Otherwise, raise an exception of type +@code{&forbidden}. +@end deffn + @node Running a client @chapter Running a client |