Skip to content

Getting forbidden toaster when a user without link share permission clicks on the link icon #30124

Description

@ssabhijith2000

Bug description

We get a forbidden toaster when users without link share permission click on the link icon. Even though this is an expected behavior, a link icon is unnecessary if it does not work. This is creating confusions

How to reproduce the bug

  1. Take away link share permission from the user
  2. Go to any dashboard
  3. Create a new tab in the dashboard.
  4. Click on share link Icon

Screenshots/recordings

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cares:presetPreset cares about this issuedashboard:security:accessRelated to the security access of the Dashboard

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions