mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
AccessControl: Enable empty list New button based on user permissions (#45398)
This commit is contained in:
@@ -127,6 +127,7 @@ export class TeamList extends PureComponent<Props, State> {
|
||||
buttonIcon="users-alt"
|
||||
buttonLink="org/teams/new"
|
||||
buttonTitle=" New team"
|
||||
buttonDisabled={!contextSrv.hasPermission(AccessControlAction.ActionTeamsCreate)}
|
||||
proTip="Assign folder and dashboard permissions to teams instead of users to ease administration."
|
||||
proTipLink=""
|
||||
proTipLinkTitle=""
|
||||
|
||||
Reference in New Issue
Block a user