mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
fix: [dashboard] should not show edit button when user has no edit permit (#11024)
This commit is contained in:
@@ -443,6 +443,7 @@ class Header extends React.PureComponent {
|
||||
tabIndex={0}
|
||||
className="action-button"
|
||||
onClick={this.toggleEditMode}
|
||||
disabled={!userCanEdit}
|
||||
>
|
||||
<Icon name="pencil" />
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user