Torkel Ödegaard
46a75099d8
Merge pull request #16116 from SGI495/master
...
Don't include non-existing image in MS Teams alert
2019-03-22 09:34:56 +01:00
Mitsuhiro Tanda
56251ca546
Update CloudWatch metrics/dimension list ( #16102 )
...
update cloudWatch metrics/dimension list
2019-03-21 11:13:06 +01:00
Magnus Berglund
e6623de6b2
Rewrote creation of images tag
2019-03-20 18:59:13 +01:00
Magnus Berglund
0511095303
Added missing commas
2019-03-20 18:42:48 +01:00
Magnus Berglund
0de77598d7
Don't include non-existing image in MS Teams alert
...
If an image section is included in the JSON payload for MS Teams alerts
when no image URL exists, rendering of the alert in the client fails.
This change makes sure that an image section is only included in the
JSON payload if an image URL exists.
Closes #16082
2019-03-20 18:23:36 +01:00
Oleg Gaidarenko
30f0c35006
Merge pull request #16104 from markelog/remotecache-small-fix
...
Correct table names of sql storage for remotecache
2019-03-20 14:08:02 +01:00
Oleg Gaidarenko
c5bc723a6e
Correct table names of sql storage for remotecache
2019-03-20 13:24:56 +01:00
Torkel Ödegaard
d11695b8b5
Fixed gofmt issue in PR #16093
2019-03-20 10:58:20 +01:00
Sai Ram Gupta
6929593eb6
Update org_user.go
...
Add check for, if current role is ROLE_VIEWER, return true if the role I'm checking for is ROLE_VIEWER. Fixes #16092
2019-03-19 11:31:55 -07:00
Leonard Gram
978c20a604
teams: explains the external property of a team membership.
2019-03-19 14:01:22 +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
Leonard Gram
d1481cac50
teams: refactored db code.
2019-03-19 14:01:18 +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
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
b783fa7039
team: renames teams.CanUpdate teamguardian.CanAdmin
2019-03-19 14:01:12 +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
Leonard Gram
d668550aa2
teams: added feature toggle and refactor tests
2019-03-19 13:57:28 +01:00
Leonard Gram
0d61f89577
teams: cleanup.
2019-03-19 13:57:28 +01:00
Leonard Gram
3be1d71f1f
teams: test refactorings.
2019-03-19 13:57:27 +01:00
Leonard Gram
319879cfa8
teams: bugfix, user pointer.
2019-03-19 13:57:27 +01:00
Leonard Gram
90e9fda90c
teams: start of team update guardian for editors
2019-03-19 13:57:26 +01:00
Hugo Häggmark
5adde259d3
teams: team update test
2019-03-19 13:57:26 +01:00
Hugo Häggmark
3c46b786d2
teams: change back to permissionlevel for Member to 0
2019-03-19 13:57:26 +01:00
Hugo Häggmark
3c74ac3044
teams: update only the selected user
2019-03-19 13:57:25 +01:00
Hugo Häggmark
074ebf0f48
teams: only write error message if error
2019-03-19 13:57:25 +01:00
Leonard Gram
aedc478208
teams: test for update team member.
2019-03-19 13:57:24 +01:00
Leonard Gram
2a88052c14
teams: can update team members permission.
2019-03-19 13:57:23 +01:00
Hugo Häggmark
7888457aae
teams: basic ui for permission in team members view
2019-03-19 13:57:23 +01:00