---
id: change/bcapps/10991
type: change
title: "#10991 [Main]Cannot Rename User Due to Financial Report Audit Log Permissions - Copy"
summary: User Management now correctly updates Financial Report Audit Log entries when a user is renamed, ensuring audit records reflect the new user name instead of keeping obsolete references.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit user management
system: administration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:53.491Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 98e14d825ac3bf67d2f19e1275ace76b5cf7cef2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10991
    title: "microsoft/BCApps#10991: [Main]Cannot Rename User Due to Financial Report Audit Log Permissions - Copy"
    date: "2026-09-08"
    commit: 98e14d825ac3bf67d2f19e1275ace76b5cf7cef2
    t: null
    quote: Added the table to the user-renaming handler and granted the required modify/rename permissions.
links:
  learn: []
  objects:
    - object/codeunit/418
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10991
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10991
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-08T08:52:55Z"
author: sanjmaurya
author_type: User
community_contribution: false
labels:
  - "Team: Integrations"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 4
  deletions: 0
  al: 2
apps:
  - Base Application
objects_touched:
  - key: codeunit/418
    page: codeunit/418
    type: codeunit
    id: 418
    name: User Management
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/RU/BaseApp/System/User/UserManagement.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 648875
systems:
  - administration
quote: Added the table to the user-renaming handler and granted the required modify/rename permissions.
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #10991 [Main]Cannot Rename User Due to Financial Report Audit Log Permissions - Copy

> User Management now correctly updates Financial Report Audit Log entries when a user is renamed, ensuring audit records reflect the new user name instead of keeping obsolete references.

[Pull request](https://github.com/microsoft/BCApps/pull/10991) · merged into `main` (BC30) on 2026-09-08 by sanjmaurya · 2 files (+4 -0), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- The Financial Report Audit Log table was missing from the user-renaming logic
- The table was added to the user-renaming handler in User Management, in both the RU and W1 layers
- Modify and rename permissions for the audit log table were granted
- Audit log entries now show the new user name after a user is renamed
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 418 "User Management"](../../objects/codeunit/418.md), Base Application: modified
- `src/Layers/RU/BaseApp/System/User/UserManagement.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#648875
- Labels: Team: Integrations
- Systems: administration
- From the description: "Added the table to the user-renaming handler and granted the required modify/rename permissions."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
