public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH access-control v2] api, auth: fix two typos in user-visible description
Date: Fri, 22 Nov 2024 11:25:29 +0100	[thread overview]
Message-ID: <20241122102627.521873-1-c.heiss@proxmox.com> (raw)

Just two small typos in user-visible API/schema description. Fix them
up.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
v1: https://lore.proxmox.com/pve-devel/20241021120626.1293427-1-c.heiss@proxmox.com/

Changes v1 -> v2:
  * rebased on latest master

 src/PVE/API2/AccessControl.pm | 2 +-
 src/PVE/Auth/Plugin.pm        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/API2/AccessControl.pm b/src/PVE/API2/AccessControl.pm
index a984e7c..f23662a 100644
--- a/src/PVE/API2/AccessControl.pm
+++ b/src/PVE/API2/AccessControl.pm
@@ -221,7 +221,7 @@ __PACKAGE__->register_method ({
 	    },
 	    realm =>  get_standard_option('realm', {
 		description => "You can optionally pass the realm using this parameter. Normally"
-		    ." the realm is simply added to the username <username>\@<relam>.",
+		    ." the realm is simply added to the username <username>\@<realm>.",
 		optional => 1,
 		completion => \&PVE::AccessControl::complete_realm,
 	    }),
diff --git a/src/PVE/Auth/Plugin.pm b/src/PVE/Auth/Plugin.pm
index aa3706f..763239f 100755
--- a/src/PVE/Auth/Plugin.pm
+++ b/src/PVE/Auth/Plugin.pm
@@ -59,7 +59,7 @@ PVE::JSONSchema::register_standard_option('sync-scope', {
 });
 
 PVE::JSONSchema::register_standard_option('sync-remove-vanished', {
-    description => "A semicolon-seperated list of things to remove when they or the user"
+    description => "A semicolon-separated list of things to remove when they or the user"
 	." vanishes during a sync. The following values are possible: 'entry' removes the"
 	." user/group when not returned from the sync. 'properties' removes the set"
 	." properties on existing user/group that do not appear in the source (even custom ones)."
-- 
2.47.0



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2024-11-22 10:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-22 10:25 Christoph Heiss [this message]
2024-11-22 14:45 ` [pve-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=20241122102627.521873-1-c.heiss@proxmox.com \
    --to=c.heiss@proxmox.com \
    --cc=pve-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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal