Remove redundant "Permissions" heading from resource permission management modals#24977
Conversation
… management modals Co-authored-by: EngincanV <[email protected]>
There was a problem hiding this comment.
Pull request overview
This PR removes a redundant "Permissions" heading (localization key: ResourcePermissionPermissions) from resource-based permission management modals across both MVC and Blazor UI implementations. The heading appeared immediately above the "grant-all" checkbox/switch and was unnecessary given the modal titles already provide clear context about managing resource permissions.
Changes:
- Removed redundant
<h4>heading from Add and Update resource permission modals in MVC UI - Removed redundant
<h4>heading from Create and Edit modal sections in Blazor UI
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| UpdateResourcePermissionManagementModal.cshtml | Removed redundant "Permissions" heading from update modal |
| AddResourcePermissionManagementModal.cshtml | Removed redundant "Permissions" heading from add modal |
| ResourcePermissionManagementModal.razor | Removed redundant "Permissions" heading from both Create and Edit modal sections |
|
hi @yagmurcelk Can you share screenshots of the new create/update UI pages before merging it? Thanks,. |
Added for MVC UI in the PR description. |
Description
Resolves https://github.com/volosoft/volo/issues/21742
Removes the unnecessary
<h4>heading (localization key:ResourcePermissionPermissions) that appeared above the "grant-all" checkbox/switch in the resource-based authorization modals for MVC and Blazor UIs.Files changed:
AddResourcePermissionManagementModal.cshtml— removed headingUpdateResourcePermissionManagementModal.cshtml— removed headingResourcePermissionManagementModal.razor— removed heading from both Create and Edit modal sectionsChecklist
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.