You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "MalavikaN1 (via GitHub)" <gi...@apache.org> on 2024/05/23 11:47:15 UTC
[I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
MalavikaN1 opened a new issue, #28646:
URL: https://github.com/apache/superset/issues/28646
### Bug description
I have a link to a dashboard. When I click on the link , it redirects to to login page. After logging in, the dashboard is displayed, but Access Denied toaster appears twice. We have used Oauth authentication.
### How to reproduce the bug
1. Get the link to a particular dashboard.
2. Click on the link and open it in Incognito.
3. Redirect to Login, then login
4. Dashboard is displayed but access denied is shown.
### Screenshots/recordings
![Uploading Screenshot 2024-05-23 171641.png…]()
### Superset version
3.1.3
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2144680228
<!-- Answer -->
@rusackas, this one's a bit out of my wheelhouse, could you step in and provide your guidance?
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "xavier-GitHub76 (via GitHub)" <gi...@apache.org>.
xavier-GitHub76 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2826964191
We have also the issue (with superset 4.0.2 and a custom security manager)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "sjk7524068 (via GitHub)" <gi...@apache.org>.
sjk7524068 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-3440297157
> I know it is some sort of hack But I have done with `session.pop('_flashes', None)` before redirection and It worked. I have faced it when CustomSecurityManager implemented for SAML integration and Superset wants to send reports and alerts via headless login.
This is great, where should I apply this to ? --- "session.pop('_flashes', None)"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "nandwalritik (via GitHub)" <gi...@apache.org>.
nandwalritik commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2458722106
Did anyone found any solution I am facing same issue while logging in as admin for the first time, although on subequent login it doesn't occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2146081758
Ahh, ok. I don't recall all the details, but the login page takes a redirection URL param, which can send the user back to the correct page after authorizing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "MalavikaN1 (via GitHub)" <gi...@apache.org>.
MalavikaN1 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2127272179
This is what happens, when a user without credentials tries to access a database that supports OAuth2, the backend will raise an OAUTH2_REDIRECT error. This will prompt the frontend to display a message informing the user they need to authenticate. The user will be redirected to an OAuth2 authentication process, and upon successful authorization, their personal access token will be stored for subsequent connections.
But even after successful authorization , the Access is denied toaster is displayed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2822192470
This has gone silent for quite a while now. While I know I'm not being so helpful on this one (it's not an issue on Preset), I'm tempted to close it as not-planned since it's likely more of a config/customization issue than a core Superset bug. If anyone's facing this, we can move it to a Github Discussion, but I'm curious if it's still an issue at all still.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "nandwalritik (via GitHub)" <gi...@apache.org>.
nandwalritik commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2463890156
@EinavDanielDX @MalavikaN1 Did you guys found any fix, it hard to debug even becuase
* It doesn't leaves any logs.
* It occurs only first time during the day when we login, and will work fine for whole day.
@rusackas If there is any workaround please let me know.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "EinavDanielDX (via GitHub)" <gi...@apache.org>.
EinavDanielDX commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2308680593
Hi, I'm experiencing a similar issue with Superset 4.0.0.
In my case, I’m using a custom security manager to implement SSO. It seems that when I try to access a dashboard before a session is created (e.g., the first time I log in for the day), Superset redirects from the dashboard to a login page and then back to the dashboard.
The issue is that the login page doesn’t exist because we use SSO, so a pop-up appears in the background even though the user logs in automatically.

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2126911685
<!-- Greeting -->
Hi @MalavikaN1! I'm [Dosu](https://dosu.dev), a bot here to help you solve bugs, answer questions, and become a contributor. While you wait for a human maintainer, I'm here to assist. Thanks for your patience—I'm taking a look at your issue and will get back to you with a full answer shortly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "xavier-GitHub76 (via GitHub)" <gi...@apache.org>.
xavier-GitHub76 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-4708174402
I don't succed tu reproduce it with v3, v4, v5 and v6, all with custom auth.
Details :
I create a dataset, chart and dashboard.
I copy the url dashboard (I don't use permalink)
I use the link with incognito
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "SharonCastel (via GitHub)" <gi...@apache.org>.
SharonCastel commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2827033429
We are waiting on silent so you want us to make some noise?
On Thu, Apr 24, 2025, 12:30 xavier-GitHub76 ***@***.***>
wrote:
> *xavier-GitHub76* left a comment (apache/superset#28646)
> <https://github.com/apache/superset/issues/28646#issuecomment-2826964191>
>
> We have also the issue (with superset 4.0.2 and a custom security manager)
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/superset/issues/28646#issuecomment-2826964191>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AWG6CJUS4ILDPBRQZLVWSYD23CVKHAVCNFSM6AAAAAB3UN6F3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMRWHE3DIMJZGE>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "MalavikaN1 (via GitHub)" <gi...@apache.org>.
MalavikaN1 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2464237645
@nandwalritik can you try adding it before returning the redirect url
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #28646: Superset throws access is denied error when viewing dashboard even after signing in.
URL: https://github.com/apache/superset/issues/28646
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "EinavDanielDX (via GitHub)" <gi...@apache.org>.
EinavDanielDX commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2824076259
The issue still occurs in our system, couldn't find an easy way to patch this.
If possible, please add some configuration flag/variable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "MalavikaN1 (via GitHub)" <gi...@apache.org>.
MalavikaN1 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2464192550
@nandwalritik You can fix this by clearing out the existing client session flash messages when logging in.
Just do `session.pop('_flashes', None)`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "MalavikaN1 (via GitHub)" <gi...@apache.org>.
MalavikaN1 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2144679016
@dosu I've tried everything mentioned above, still facing the same error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2144617152
<!-- Answer -->
To resolve the "Access Denied" error that appears even after successful OAuth2 authorization, you should ensure the following:
1. **Verify User Permissions**: Ensure that the user has the necessary permissions to access the dashboard and the underlying data sources. This includes checking the user's roles and permissions in Superset <sup>[[1]](https://github.com/apache/superset/blob/master/superset/security/manager.py)</sup>.
2. **Check OAuth Configuration**: Ensure that the OAuth authentication is correctly configured and that the user is properly authenticated. Misconfigurations in OAuth settings can lead to access issues <sup>[[2]](https://github.com/apache/superset/blob/master/superset/errors.py)</sup>.
3. **Handle OAuth2 Redirect**: Ensure that the OAuth2 redirect process is working correctly. The user should click the provided link to start the OAuth2 authentication process, and after successful authentication, the user should be redirected back to Superset with their access token stored. The original query should be re-run automatically once the authentication is successful <sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/src/components/ErrorMessage/OAuth2RedirectMessage.tsx)</sup>.
4. **Database Permissions**: Verify that the user has the correct permissions on the database, including access to the database, tables, and schemas required by the dashboard <sup>[[1]](https://github.com/apache/superset/blob/master/superset/security/manager.py)</sup>.
5. **Superset Logs**: Check the Superset logs for more detailed error messages that can provide additional context on why the access is denied <sup>[[2]](https://github.com/apache/superset/blob/master/superset/errors.py)</sup>.
By ensuring these steps are correctly followed, you should be able to resolve the "Access Denied" error after successful OAuth2 authorization.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "SharonCastel (via GitHub)" <gi...@apache.org>.
SharonCastel commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2217143818
This error makes our customers wonder what is wrong here.... how can we prevent it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2145823964
The screenshot is broken, but I can't help but wonder if the user in question indeed has access to the dashboard and data. This sounds like an RBAC/config issue more than a Superset bug, I'm afraid.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-4700072740
Is this still an issue in v5, v6, or on `master`? The recurring _flashes workaround from @nirmal-tw suggests a leftover flash message surviving the redirect rather than a real denial, but it's hard to tell without a repro. Does this happen without a custom SecurityManager, and does the user definitely have access to the dashboard and its data? A minimal setup that reproduces it would help a lot.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-4898544385
Every report involves a custom SecurityManager (OAuth/SAML/Keycloak) and the fix is popping leftover flask '_flashes' in the custom login. Last we heard this isn't reproducible (thanks @xavier-GitHub76) so I'll close this now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "nandwalritik (via GitHub)" <gi...@apache.org>.
nandwalritik commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2464214430
@MalavikaN1 Thanks for replying, not sure where should I add this. I will tell you about my implementation. Maybe you can help me after that.
We have integrated dashboard using embedded sdk, also I have overrided the login with below logic.
``` @expose('/login/', methods=['POST','GET'])
def login(self):
username = request.args.get("username")
password = request.args.get("password")
redirect_url= request.args.get("redirect")
user = self.appbuilder.sm.auth_user_db(username, password)
if user:
# print("")
login_user(user, remember=False)
print(user,self.appbuilder.get_url_for_index)
if redirect_url is not None:
return redirect(redirect_url)
return redirect(self.appbuilder.get_url_for_index)
elif g.user is not None and g.user.is_authenticated():
if redirect_url is not None:
return redirect(redirect_url)
return redirect(self.appbuilder.get_url_for_index)
else:
return super(CustomAuthDBView,self).login()
```
So Where should we do this `session.pop("_flashes",None)`?
* In the base application where we have embedded the dashboards (because we are receiving the pop ups) in that
* Or somewhere inside the login?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "MalavikaN1 (via GitHub)" <gi...@apache.org>.
MalavikaN1 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2145832546
Yes, the user has access to the dashboard and data. I think the problem is with the initial loading. On clicking on the link since the user is not signed in, it redirects to login page, where the access denied should've been shown. Since an OAuth integration is used and the login page is different, the error message is not shown and only after signing in, the message from earlier is shown.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "MalavikaN1 (via GitHub)" <gi...@apache.org>.
MalavikaN1 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2144599833
Any updates on this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "MalavikaN1 (via GitHub)" <gi...@apache.org>.
MalavikaN1 commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2182092457
@rusackas
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Superset throws access is denied error when viewing dashboard even after signing in. [superset]
Posted by "MasMadd (via GitHub)" <gi...@apache.org>.
MasMadd commented on issue #28646:
URL: https://github.com/apache/superset/issues/28646#issuecomment-2273109985
Hello, I have the same problem here and I am struggling to find a solution, any ideas even to 'hide' that label?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org