GitHub user user1500177 added a comment to the discussion: Custom User Info 
Fields and FAB User View Overrides No Longer Work in Superset v6 (React 
Migration)

@dosu , @rusackas 

Hi Community, 

Follow-up: Clarification on User Info, FAB, and Superset v6 (4 questions)
---

Thank you for your earlier response. I want to ensure I fully understand the 
changes from Superset v5 to v6, as these impact our upgrade planning. Could you 
please confirm or clarify the following points?


1.Why did custom user field overrides work in Superset v5 but not in v6?
-

In v5, we could override UserOAuthModelView and use show_fieldsets to display 
and edit custom user fields on the User Info/Profile page. After upgrading to 
v6, the same code is still registered, but the UI no longer reflects these 
customizations. What changed in the architecture to cause this? **(Could anyone 
give  a detailed explanation for my understanding)**


2.Is the User Info/Profile page still rendered by Flask AppBuilder in v6?
-

Is FAB now only responsible for authentication, authorization, and security 
logic, and no longer for user/profile page rendering [Need a confirmation on 
THIS  as  i never didn't why it is not working now ]? (in the users table 
itself we have extra fields added by our team as these values lets say 
custom_id or something , this id could be changed from superset itself by 
updating a form user details form)- these ids were EARLIER visible in the user 
info page (in version 5 - with the code snippet in the 
https://github.com/apache/superset/discussions/36925#discussion-9314480 ) but 
now its not AFTER while trying for upgrade to Version 6.

 (REFER IMAGES 1 for version 5 NOTICE THE EXTRA ROWS after the login count in 
the user info PLEASE... THATS MISSING in version 6
<img width="790" height="479" alt="image" 
src="https://github.com/user-attachments/assets/de06d93f-98aa-499b-a9a7-924fdadbdcd3";
 />
 and 2 (for version 6
<img width="890" height="458" alt="image" 
src="https://github.com/user-attachments/assets/0b47245d-2aec-48cc-a3df-cddd7cb94c8c";
 />
)


3.Is there any supported way to add custom user fields to the User Info page in 
v6?
-
**We have not found a way to expose custom user fields to the User Info page 
using superset_config.py or security manager overrides. Is this currently 
possible in v6 with edits in the superset_config.py.**

4.What is the recommended approach in v6 for teams that relied on custom FAB 
user views?
-
We used custom user fields for internal workflows and company-specific 
attributes. Now that the User Info page is no longer customizable, what is the 
intended or recommended alternative in Superset v6? (Is it possible via 
superset_config.py ?)

5.What is the correct way in v6 to handle custom pages and landing pages after 
OAuth login?
-
If we want to:

after adding a custom page (e.g., Page1) in the navbar near Dashboards (I HAD 
ALREADY DONE THIS adding to the side of the navbar near the Dashbords as in the 
figure) REFER IMAGE 3 
<img width="1885" height="189" alt="image" 
src="https://github.com/user-attachments/assets/fd9145a2-b542-4d63-a378-339b902a26cd";
 />
, and
**BUT NOW I want to Redirect users to that page or a dashboard after OAuth 
login DIRECTLY what is the supported and recommended way to do this in Superset 
v6? (VIA  the superset_config.py)**
Is there any plan to make the User Info page extensible in the future?

PLEASE NOTE I WOULD like all the edit to be in the superset_config alone 


We appreciate your guidance and any roadmap information you can share.

GitHub link: 
https://github.com/apache/superset/discussions/36925#discussioncomment-15430373

----
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]

Reply via email to