You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2022/05/19 05:24:55 UTC
[isis] 01/03: ISIS-2965: updates docs for SudoService
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch ISIS-3046
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 59ce2e6a7cf0c22eb4a7ce8c9abbf06c57d54f55
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Wed May 18 07:10:30 2022 +0100
ISIS-2965: updates docs for SudoService
---
.../index/services/sudo/hooks/SudoService_020-examples-and-usage.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/antora/components/refguide-index/modules/applib/pages/index/services/sudo/hooks/SudoService_020-examples-and-usage.adoc b/antora/components/refguide-index/modules/applib/pages/index/services/sudo/hooks/SudoService_020-examples-and-usage.adoc
index 61e3edfe87..ca801e0af5 100644
--- a/antora/components/refguide-index/modules/applib/pages/index/services/sudo/hooks/SudoService_020-examples-and-usage.adoc
+++ b/antora/components/refguide-index/modules/applib/pages/index/services/sudo/hooks/SudoService_020-examples-and-usage.adoc
@@ -35,7 +35,7 @@ For example:
----
protected void execute(final ExecutionContext ec) {
...
- sudoService.sudo(InteractionContext.switchUser(
+ sudoService.call(InteractionContext.switchUser(
UserMemento.ofNameAndRoles("seed-user", SudoService.ACCESS_ALL_ROLE),
() -> { /* ... */ }
);