Merge branch rel-10.3 with rel-10.2#25208
Merged
4 commits merged intorel-10.3from Apr 8, 2026
Merged
Conversation
Update workflow to merge rel-10.3 with rel-10.2
Remove the ownership-based fallback that allowed post creators to delete their own posts in Detail.cshtml. Deletion now strictly requires BloggingPermissions.Posts.Delete, centralizing authorization on explicit permissions to enforce consistent access control.
Require delete permission for blog posts
voloagent
approved these changes
Apr 3, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This auto-generated PR syncs rel-10.3 into rel-10.2 and includes a small UI authorization adjustment plus corresponding workflow renames/branch references.
Changes:
- Update blog post detail page to show the “Delete” action only when
BloggingPermissions.Posts.Deleteis granted. - Update the auto PR GitHub Actions workflow naming and checkout ref from
devtorel-10.3.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| modules/blogging/src/Volo.Blogging.Web/Pages/Blogs/Posts/Detail.cshtml | Tightens the visibility condition for the “Delete” link to permission-only. |
| .github/workflows/auto-pr.yml | Renames the workflow/job and changes the checked-out source branch to rel-10.3. |
Comments suppressed due to low confidence (1)
.github/workflows/auto-pr.yml:5
- The workflow is titled/checks out
rel-10.3to create a PR intorel-10.2, but it only triggers on pushes torel-10.2. This means updates torel-10.3won’t automatically generate the merge PR, and the automation will only run when the target branch changes. Consider triggering onrel-10.3(or both branches) so the merge PR is created when the source branch advances.
name: Merge branch rel-10.3 with rel-10.2
on:
push:
branches:
- rel-10.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR generated automatically to merge rel-10.3 with rel-10.2. Please review the changed files before merging to prevent any errors that may occur.