Skip to content

Update xref links in views.md to unblock merge to live - #37374

Merged
wadepickett merged 1 commit into
mainfrom
wadepickett-patch-6
Jul 24, 2026
Merged

Update xref links in views.md to unblock merge to live#37374
wadepickett merged 1 commit into
mainfrom
wadepickett-patch-6

Conversation

@wadepickett

@wadepickett wadepickett commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Fixing broken link on main so we can re-merge to main and fix merge to live block on #37372

Two problems combined:

  • The uid is out of date. The resource-based article was itself renamed to mvc/security/authorization/resource-based (I confirmed its front matter: uid: mvc/security/authorization/resource-based). So xref:security/authorization/resource-based no longer resolves.
  • The anchor #use-imperative-authorization does exist on that target (## Use imperative authorization), so once the uid is corrected the bookmark is valid.

Fixing broken link on main so we can remerge and fix merge to live block.

Two problems combined:

The uid is out of date. The resource-based article was itself renamed to mvc/security/authorization/resource-based (I confirmed its front matter: uid: mvc/security/authorization/resource-based). So xref:security/authorization/resource-based no longer resolves.
The anchor #use-imperative-authorization does exist on that target (## Use imperative authorization), so once the uid is corrected the bookmark is valid.
@wadepickett
wadepickett marked this pull request as ready for review July 23, 2026 19:58
@wadepickett
wadepickett requested a review from guardrex July 23, 2026 20:04

@guardrex guardrex left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good change for the article because pointing to the MVC version of the Resource-based authz article is the right move, so I'm glad that you caught it 🎉, but that section and UID are valid in the main Security node article ...

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/resource-based.md#use-imperative-authorization

... and that seems to explain why the build report for the MVC article move didn't pick up on it ...

https://buildapi.docs.microsoft.com/Output/PullRequest/332f35cd-658d-4914-0f85-907e40ee89f0/202607221936146693-37369/BuildReport?accessString=755631a7585243e9fa308b853a27c0ebba03d14d4aae4d71f8b4ae0cff6962f1

... or the PR that dealt with the Resource-based authz article updates ...

https://buildapi.docs.microsoft.com/Output/PullRequest/332f35cd-658d-4914-0f85-907e40ee89f0/202605201024344255-37097/BuildReport?accessString=5504211139967a60651ef81ab33c71b5121d316fc56c6f8070b0227b0847dc1a

I guess I'm just wondering if these updates are going to clear the build error on the Merge-to-Live build? We'll see soon enough! 😆

@wadepickett
wadepickett merged commit d0d6c9e into main Jul 24, 2026
4 checks passed
@wadepickett
wadepickett deleted the wadepickett-patch-6 branch July 24, 2026 04:31
@wadepickett

Copy link
Copy Markdown
Contributor Author

Seems to have taken care of it. Thanks. I wasn't 100% sure but I didn't see enought detail to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants