Skip to content

Add Elements access to data type, document type, and relation authori…

eb6126e
Select commit
Loading
Failed to load commit list.
Merged

Elements: Add Elements access to data type, document type, and relation authorization policies #21501

Add Elements access to data type, document type, and relation authori…
eb6126e
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Code Health Review (v17/feature/global-elements) failed Jan 23, 2026 in 41s

CodeScene PR Check

Quality Gate Failed

Gates Failed
Enforce advisory code health rules (1 file with Large Method)

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Reason for failure
Enforce advisory code health rules Violations Code Health Impact
BackOfficeAuthPolicyBuilderExtensions.cs 1 advisory rule 9.33 → 9.32 Suppress

Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.

Details

🚩 Declining Code Health (highest to lowest):

  • Large Method BackOfficeAuthPolicyBuilderExtensions.cs: CreatePolicies

Annotations

Check warning on line 112 in src/Umbraco.Cms.Api.Management/DependencyInjection/BackOfficeAuthPolicyBuilderExtensions.cs

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (v17/feature/global-elements)

❌ Getting worse: Large Method

CreatePolicies increases from 122 to 124 lines of code, threshold = 70. Large functions with many lines of code are generally harder to understand and lower the code health. Avoid adding more lines to this function.