GitHub user user1500177 created a discussion: Custom User Info Fields and FAB
User View Overrides No Longer Work in Superset v6 (React Migration)
---
**Title:**
Custom User Info Fields and FAB User View Overrides No Longer Work in Superset
v6 (React Migration)
**Content:**
Hi Superset team,
In Superset v5, I was able to customize the User Info page using a custom Flask
AppBuilder (FAB) view, like this:
```python
class MyUserOAuthModelView(UserOAuthModelView):
show_fieldsets = [
('User info', {'fields': ['username', 'active', 'roles', 'login_count',
'custom_field_1', 'custom_field_2', 'custom_field_3', 'custom_field_4']}),
('Personal Info', {'fields': ['first_name', 'last_name', 'email'],
'expanded': True}),
('Audit Info', {'fields': ['last_login', 'fail_login_count',
'created_on', 'created_by', 'changed_on', 'changed_by'], 'expanded': False}),
]
# ... add_columns, list_columns, edit_columns, etc.
```
I also set:
```python
authoauthview = CustomSsoAuthOAuthView
```
in my custom security manager.
This allowed me to display and edit custom user fields (like `custom_field_1`
to `custom_field_4`) in the User Info page and user profile.
**After upgrading to Superset v6:**
- The User Info page is now a React component and only shows the default fields
(username, email, etc.).
- My FAB view overrides and custom fields are ignored.
- I confirmed that my custom security manager and view are still registered,
but the frontend does not use them.
**Questions:**
1. Is there any way (via config or extension) to restore support for custom
user fields in the User Info page in Superset v6?
2. Is there a recommended migration path for organizations that rely on custom
FAB user views and fields?
3. Are there plans to make the React User Info page extensible or configurable
for custom fields?
**Background:**
We use these custom fields for company-specific user attributes and workflows.
Losing this capability is a blocker for our upgrade.
Any guidance or roadmap info would be appreciated!
Thanks!
---
Let me know if you want to further customize the field names or add more
technical details!
GitHub link: https://github.com/apache/superset/discussions/36925
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]