mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05: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