Skip to content

Conversation

@junaiddshaukat
Copy link
Contributor

Fixes #60017

Description

The "Groups" selection field was displayed on the user edit form in the FAB Auth Manager UI, but Airflow doesn't use Groups functionality and there are no Groups selectable. This hides the Groups field by explicitly defining edit_columns in CustomUserDBModelView.

Changes

  • Added edit_columns attribute to CustomUserDBModelView class in providers/fab/src/airflow/providers/fab/auth_manager/views/user.py

Testing

  • Manually tested by starting Airflow with FAB Auth Manager
  • Verified the Groups field no longer appears on the Edit User form
  • Verified user creation and editing still works correctly

Demo

Screen.Recording.2026-01-01.at.5.01.11.PM.mov

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Fixes apache#60017

The Groups selection field was displayed on the user edit form,
but Airflow doesn't use Groups functionality. This hides the
Groups field by explicitly defining edit_columns.
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@jscheffl jscheffl merged commit 84110f4 into apache:main Jan 1, 2026
85 checks passed
henry3260 pushed a commit to henry3260/airflow that referenced this pull request Jan 3, 2026
Fixes apache#60017

The Groups selection field was displayed on the user edit form,
but Airflow doesn't use Groups functionality. This hides the
Groups field by explicitly defining edit_columns.
stegololz pushed a commit to stegololz/airflow that referenced this pull request Jan 9, 2026
Fixes apache#60017

The Groups selection field was displayed on the user edit form,
but Airflow doesn't use Groups functionality. This hides the
Groups field by explicitly defining edit_columns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fab User Management User Edit/Delete UI Glitches

2 participants