Add Granular Console permissions documentation#6189
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe ChangesConsole Role Permissions Documentation
Suggested labels
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
en/includes/guides/admin-portal/manage-console-access.md (1)
164-165:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winRemove the extra blank line before the group-assignment bullet.
Markdownlint MD012 rejects the two consecutive blank lines here. Keep only one blank line between the user and group sublists.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@en/includes/guides/admin-portal/manage-console-access.md` around lines 164 - 165, Remove one of the two consecutive blank lines appearing before the "To assign a group:" bullet point. Markdownlint MD012 prohibits multiple consecutive blank lines; ensure there is only a single blank line separating the user and group assignment sublists in the file.Source: Pipeline failures
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@en/includes/guides/admin-portal/manage-console-access.md`:
- Line 89: Change the heading from Title Case to Sentence Case to comply with
Vale style rules. In the heading "Granular Console permissions", lowercase the
word "Console" so it reads "Granular console permissions" - only the first word
of the heading and proper nouns should be capitalized in Sentence Case style.
- Around line 124-125: The sentence in the "Compatibility with existing roles"
note is too long and uses the wordy word "equivalent", which Vale is flagging
for readability. Shorten this sentence by replacing "equivalent to granting"
with a more concise phrasing such as "grants" or "provides", and simplify the
overall structure to make it easier to scan while maintaining the same meaning
about how the combined Edit permission maps to the granular permissions model.
- Around line 93-98: The documentation for the
`use_granular_console_permissions` configuration setting is incomplete according
to documentation standards. Enhance the existing documentation to include: (1) a
clear statement that this setting defaults to false, (2) an explanation of when
and why users should enable this feature (i.e., use cases where granular
permissions are needed), and (3) any constraints or considerations users should
be aware of when using this configuration. Add this information before or after
the configuration example to provide complete guidance on the setting.
---
Outside diff comments:
In `@en/includes/guides/admin-portal/manage-console-access.md`:
- Around line 164-165: Remove one of the two consecutive blank lines appearing
before the "To assign a group:" bullet point. Markdownlint MD012 prohibits
multiple consecutive blank lines; ensure there is only a single blank line
separating the user and group assignment sublists in the file.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
Run ID: f9a43eb5-aae2-4c44-9612-da831901f229
📒 Files selected for processing (1)
en/includes/guides/admin-portal/manage-console-access.md
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
|
||
| By default, Console roles use the combined **View** and **Edit** permission model described above, where **Edit** grants **Create**, **Update**, and **Delete** access together. | ||
|
|
||
| You can optionally enable a more granular permission model that lets you assign **Create**, **Update**, and **Delete** permissions independently for each Console component. This is controlled by the `use_granular_console_permissions` setting, which is `false` by default. Enable it only when you need this level of control over Console permissions. To do so, add the following configuration to the `deployment.toml` file and restart the server. |
There was a problem hiding this comment.
Shall we add a screenshot
Purpose
Documents the granular Console permission model for Console roles in the Manage Console access guide, and restructures the permission definitions so they are introduced before the role-creation steps.
Changes
deployment.toml:Notes
use_granular_console_permissionsdefaults tofalse).