Leonard Gram
f2b06a89f2
Merge pull request #15977 from grafana/admin-on-create-poc
...
Editors becomes admin when creating dashboards, folders & teams
2019-03-19 15:02:52 +01:00
Torkel Ödegaard
531176b559
Merge pull request #16077 from grafana/gauge-change-options-render
...
Re-render gauge / singlestat panels when changing options
2019-03-19 15:01:26 +01:00
Torkel Ödegaard
c19a47d34f
Merge pull request #16008 from grafana/bar-gauge-refactoring
...
Refactoring the bar gauge and the orientation modes
2019-03-19 15:00:30 +01:00
Hugo Häggmark
c1d585b156
chore: cleaning up noimplicit anys in search_srv and tests
...
progress: #14714
2019-03-19 14:48:35 +01:00
Dominik Prokop
97a000c319
Fix threshold editor color picker not working for custom colors
...
When user selected Custom as an option for a threshold colors, the Custom color picker did not work. The problem was caused by threshold model not including the default colors for fill and line colors when custom was selected. Now, when changing the type to custom, the default valoues are set.
2019-03-19 14:47:48 +01:00
Andrej Ocenas
aa14d7528c
Updated comments
2019-03-19 14:16:01 +01:00
Leonard Gram
95f7a91328
Merge pull request #16069 from xlson/ci-deploy-speedup
...
build: crcmod speedups rsync to gcp for deploy.
2019-03-19 14:13:15 +01:00
Torkel Ödegaard
2ca5149c67
Updated threshold editor test
2019-03-19 14:12:47 +01:00
Leonard Gram
2ca8d17874
Merge pull request #16071 from xlson/include-build-container
...
build: migrates the build container into the main repo.
2019-03-19 14:10:02 +01:00
Torkel Ödegaard
d597271844
Re-render gauge / singlestat panels when changing options
2019-03-19 14:07:48 +01:00
Hugo Häggmark
53322a51e2
fix: refactored so members are loaded by TeamPages and use hideFromTabs instead of filtering out children in navModel
2019-03-19 14:01:22 +01:00
Leonard Gram
978c20a604
teams: explains the external property of a team membership.
2019-03-19 14:01:22 +01:00
Hugo Häggmark
e23e6a8bdc
fix: fixed snapshots and permission select not beeing able to click
2019-03-19 14:01:21 +01:00
Hugo Häggmark
b71c9803a9
fix: new team link goes nowhere for viewers
2019-03-19 14:01:21 +01:00
Hugo Häggmark
53c74fa2f5
teams: refactor so that you can only delete teams if you are team admin
2019-03-19 14:01:21 +01:00
Leonard Gram
a615b78f8a
permissions: removes global access to bus from MakeUserAdmin.
2019-03-19 14:01:20 +01:00
Leonard Gram
adf0390b2c
teams: local access to bus, moving away from dep on global.
2019-03-19 14:01:20 +01:00
Leonard Gram
6589a4e55f
teams: better names for api permissions.
2019-03-19 14:01:20 +01:00
Leonard Gram
9f33f00343
teams: refactor.
2019-03-19 14:01:19 +01:00
Leonard Gram
9f8e43916d
permissions: refactor.
2019-03-19 14:01:19 +01:00
Leonard Gram
b796027bc6
teams: refactor.
2019-03-19 14:01:19 +01:00
Hugo Häggmark
13ed10495a
teams: hide tabs settings and groupsync for non team admins
2019-03-19 14:01:18 +01:00
Leonard Gram
d1481cac50
teams: refactored db code.
2019-03-19 14:01:18 +01:00
Hugo Häggmark
8c34f595f0
teams: disable new team button if user is viewer
2019-03-19 14:01:18 +01:00
Hugo Häggmark
e3fc61b326
refactor: moved test from TeamMembers to TeamMemberRow
2019-03-19 14:01:17 +01:00
Hugo Häggmark
178d637b4e
refactor: splitted TeamMembers to TeamMemberRow
2019-03-19 14:01:17 +01:00
Hugo Häggmark
6a63725df0
teams: comment explaining input validation
...
Co-Authored-By: xlson <leo@xlson.com>
2019-03-19 14:01:17 +01:00
Leonard Gram
3f57a81c47
teams: cleanup.
2019-03-19 14:01:16 +01:00
Leonard Gram
ccfd6789ca
teams: cleanup.
2019-03-19 14:01:16 +01:00
Leonard Gram
fc0461134f
dashboards: simplified code.
2019-03-19 14:01:15 +01:00
Hugo Häggmark
b82b94a247
teams: disable buttons for team members
2019-03-19 14:01:15 +01:00
Hugo Häggmark
b60e71c28b
teams: moved logic for searchteams to backend
2019-03-19 14:01:15 +01:00
Hugo Häggmark
782b5b6a3a
teams: viewers and editors can view teams
2019-03-19 14:01:14 +01:00
Leonard Gram
c420af16b1
teams: editor/viewer team admin cant remove the last admin.
2019-03-19 14:01:14 +01:00
Hugo Häggmark
246e128048
teams: changed permission to permission type instead of int
2019-03-19 14:01:14 +01:00
Hugo Häggmark
c826f39a8b
teams: defaulting invalid permission level to member permission level
2019-03-19 14:01:13 +01:00
Leonard Gram
c823ad5de7
team: uses PermissionType instead of int64 for permissions.
2019-03-19 14:01:13 +01:00
Leonard Gram
21d3d27452
teams: editors can't remove the last admin from a team.
2019-03-19 14:01:13 +01:00
Leonard Gram
8593668ab2
teams: tests use the new message for modifying team members.
2019-03-19 14:01:12 +01:00
Leonard Gram
b783fa7039
team: renames teams.CanUpdate teamguardian.CanAdmin
2019-03-19 14:01:12 +01:00
Hugo Häggmark
96aa4ae19f
teams: remov permission select for non admin users
2019-03-19 14:01:12 +01:00
Hugo Häggmark
b9cf09a296
docs: First take on describing feature toggle
2019-03-19 14:01:11 +01:00
Hugo Häggmark
a90b3e331e
config: updated feature toggle name
2019-03-19 13:59:39 +01:00
Leonard Gram
a6a3d698da
teams: cleanup.
2019-03-19 13:57:30 +01:00
Leonard Gram
0b209de5d1
dashboard: only admin permission added to dashboard in folder.
2019-03-19 13:57:30 +01:00
Leonard Gram
d593ffe3c1
dashboards: better error handling
2019-03-19 13:57:30 +01:00
Leonard Gram
89d4db8eb6
teams: team listing shows only your teams (editors).
2019-03-19 13:57:29 +01:00
Leonard Gram
1f949e58e1
teams: teams guard on all teams update methods.
2019-03-19 13:57:29 +01:00
Leonard Gram
23231e6d51
teams: added delete team guard
2019-03-19 13:57:29 +01:00
Leonard Gram
8e7a8282c1
teams: removed feature toggle as it is already in middleware
2019-03-19 13:57:28 +01:00