From: Oguz Bektas <o.bektas@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH backup] tasks: fix typos in API description
Date: Thu, 20 May 2021 15:03:23 +0200 [thread overview]
Message-ID: <20210520130323.1368794-1-o.bektas@proxmox.com> (raw)
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
---
src/api2/node/tasks.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/api2/node/tasks.rs b/src/api2/node/tasks.rs
index ff6ed726..f42a1a69 100644
--- a/src/api2/node/tasks.rs
+++ b/src/api2/node/tasks.rs
@@ -256,7 +256,7 @@ fn extract_upid(param: &Value) -> Result<UPID, Error> {
},
},
access: {
- description: "Users can access there own tasks, or need Sys.Audit on /system/tasks.",
+ description: "Users can access their own tasks, or need Sys.Audit on /system/tasks.",
permission: &Permission::Anybody,
},
)]
@@ -326,7 +326,7 @@ async fn read_task_log(
},
},
access: {
- description: "Users can stop there own tasks, or need Sys.Modify on /system/tasks.",
+ description: "Users can stop their own tasks, or need Sys.Modify on /system/tasks.",
permission: &Permission::Anybody,
},
)]
@@ -420,7 +420,7 @@ fn stop_task(
items: { type: TaskListItem },
},
access: {
- description: "Users can only see there own tasks, unless the have Sys.Audit on /system/tasks.",
+ description: "Users can only see their own tasks, unless they have Sys.Audit on /system/tasks.",
permission: &Permission::Anybody,
},
)]
--
2.20.1
next reply other threads:[~2021-05-20 13:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 13:03 Oguz Bektas [this message]
2021-05-25 5:55 ` [pbs-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210520130323.1368794-1-o.bektas@proxmox.com \
--to=o.bektas@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox