GitHub user dosubot[bot] added a comment to the discussion: How can I  add new 
column in List Users?

<!-- Greeting -->
Hey @AlexandruDobos! 👋 I'm here to help you solve bugs, answer questions, and 
contribute to your projects while you wait for a human maintainer. Let's get 
your issue sorted out!

<!-- Answer -->
I found a similar unsolved discussion that might be relevant to your issue: 
[Schema changes made to 'ab_user' table is not reflected in 
DB](https://github.com/apache/superset/discussions/29223) 
<sup>[[1]](https://github.com/apache/superset/discussions/29223)</sup>. 
Although it doesn't provide a solution, it might offer some insights or areas 
to explore further.

To address your issue, ensure that the following steps are completed:

1. **Database Migration**: Verify that the database migration was successful 
and that the `user_type` column is present in the `ab_user` table. You can 
check this directly in your database.

2. **Custom Security Manager**: Ensure that your `CustomSecurityManager` is 
correctly set in the `config.py` file with the line `CUSTOM_SECURITY_MANAGER = 
CustomSecurityManager`.

3. **Model View Registration**: Confirm that your `MyUserDBModelView` is 
properly registered and that the application is using this custom view instead 
of the default one.

4. **Clear Cache and Restart**: Sometimes changes might not reflect due to 
caching. Try clearing the cache and restarting the Superset server to see if 
the changes take effect.

5. **Check for Errors**: Look for any errors in the server logs that might 
indicate issues with the customizations.

If these steps don't resolve the issue, consider reviewing the Superset 
documentation or exploring community discussions for additional guidance on 
customizing views.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/79360c40-5ea5-494c-892f-e24e8f341242?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/79360c40-5ea5-494c-892f-e24e8f341242?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/79360c40-5ea5-494c-892f-e24e8f341242?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/79360c40-5ea5-494c-892f-e24e8f341242?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/79360c40-5ea5-494c-892f-e24e8f341242?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/79360c40-5ea5-494c-892f-e24e8f341242?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/79360c40-5ea5-494c-892f-e24e8f341242?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33088#discussioncomment-12791462

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