From e15bd0af4450ad2ce0313c575198c5d5ced5097d Mon Sep 17 00:00:00 2001 From: Yash Sharma Date: Fri, 5 Jul 2024 19:22:13 +0000 Subject: [PATCH 1/3] Update permission cell to show astric Signed-off-by: Yash Sharma --- layouts/shortcodes/csvtable.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/shortcodes/csvtable.html b/layouts/shortcodes/csvtable.html index e2905c11..8e22afde 100644 --- a/layouts/shortcodes/csvtable.html +++ b/layouts/shortcodes/csvtable.html @@ -52,6 +52,8 @@

{{ $category }} Permissions

{{ if and (gt $j 2) (lt $j 10) }} {{ if eq $cell "X" }} ✅ + {{ else if eq $cell "X*" }} + ✅* {{ else }} ❌ {{ end }} From f15f13ce0ec240f84400f0213d407dbd46e0ff05 Mon Sep 17 00:00:00 2001 From: Yash Sharma Date: Fri, 5 Jul 2024 19:38:40 +0000 Subject: [PATCH 2/3] Add info alter for permission indicators Signed-off-by: Yash Sharma --- content/en/cloud/reference/default-permissions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/cloud/reference/default-permissions.md b/content/en/cloud/reference/default-permissions.md index 733b4c8f..4c9dd699 100644 --- a/content/en/cloud/reference/default-permissions.md +++ b/content/en/cloud/reference/default-permissions.md @@ -10,4 +10,8 @@ tags: [perms] {{< alert title="Customizable Permissions" type="info" >}}Default permissions can be easily customized by simply creating your own [keychains](/cloud/security/keychains/#keychains-management) and [roles](/cloud/security/roles).{{< /alert >}} +{{< alert title="Understanding Permission Indicators" type="info" >}} +Permissions marked with ✅* indicate that the user is allowed to perform that action only if they own the resource. If the permission is marked with just a ✅, the user is allowed to perform that action regardless of resource ownership. +{{< /alert >}} + {{< csvtable >}} \ No newline at end of file From 3bf07145c2275aaa2bc61d7a594a5e568174414f Mon Sep 17 00:00:00 2001 From: Yash Sharma Date: Fri, 5 Jul 2024 19:49:04 +0000 Subject: [PATCH 3/3] Make changes in alert Signed-off-by: Yash Sharma --- content/en/cloud/reference/default-permissions.md | 3 ++- layouts/shortcodes/csvtable.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/cloud/reference/default-permissions.md b/content/en/cloud/reference/default-permissions.md index 4c9dd699..fba0617f 100644 --- a/content/en/cloud/reference/default-permissions.md +++ b/content/en/cloud/reference/default-permissions.md @@ -11,7 +11,8 @@ tags: [perms] {{< alert title="Customizable Permissions" type="info" >}}Default permissions can be easily customized by simply creating your own [keychains](/cloud/security/keychains/#keychains-management) and [roles](/cloud/security/roles).{{< /alert >}} {{< alert title="Understanding Permission Indicators" type="info" >}} -Permissions marked with ✅* indicate that the user is allowed to perform that action only if they own the resource. If the permission is marked with just a ✅, the user is allowed to perform that action regardless of resource ownership. +- Permissions marked with ✅ * indicate that the user is allowed to perform that action only if they own the resource. +- Permissions marked with just a ✅, indicate that user is allowed to perform that action regardless of resource ownership. {{< /alert >}} {{< csvtable >}} \ No newline at end of file diff --git a/layouts/shortcodes/csvtable.html b/layouts/shortcodes/csvtable.html index 8e22afde..f0c4f8bc 100644 --- a/layouts/shortcodes/csvtable.html +++ b/layouts/shortcodes/csvtable.html @@ -53,7 +53,7 @@

{{ $category }} Permissions

{{ if eq $cell "X" }} ✅ {{ else if eq $cell "X*" }} - ✅* + ✅ * {{ else }} ❌ {{ end }}