Variable: removed __user.name/___.user.email from global variables and added docs for the rest of the __user variable. (#25275)
* added docs for new global variable. * reverting the name + email so we only expose the bare minumum that should be enough for most cases.
This commit is contained in:
1 parent
1d9f47b6a6
commit
add1bcb59c
4 files changed
+6
-6
No files matched your search
@@ -52,6 +52,12 @@ This variable is only available in the Singlestat panel and can be used in the p
|
||||
This variable is the ID of the current organization.
|
||||
`${__org.name}` is the name of the current organization.
|
||||
|
||||
## $__user
|
||||
> Only available in Grafana v7.1+
|
||||
|
||||
`${__user.id}` is the ID of the current user.
|
||||
`${__user.login}` is the login handle of the current user.
|
||||
|
||||
## $__range
|
||||
|
||||
> Only available in Grafana v5.3+
|
||||
|
||||
Reference in new issue
Block a user