- Notifications
You must be signed in to change notification settings - Fork1k
feat: add total users insight#15486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
a20be9f
4e43cc0
24baca9
da5f1b8
e77cf67
7cd2d86
442c75a
bcf91f9
70e66a8
3da408e
639777f
520790d
c011a05
eaac6c1
0e94c74
186a951
d340e2d
82b6c36
81c8038
fac0c68
9ba203c
a85e3f9
6fb880c
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"report": { | ||
"start_time": "0001-01-01T00:00:00Z", | ||
"end_time": "0001-01-01T00:00:00Z", | ||
"template_ids": [], | ||
"active_users": 0, | ||
"apps_usage": [ | ||
{ | ||
"template_ids": [], | ||
"type": "builtin", | ||
"display_name": "Visual Studio Code", | ||
"slug": "vscode", | ||
"icon": "/icon/code.svg", | ||
"seconds": 0, | ||
"times_used": 0 | ||
}, | ||
{ | ||
"template_ids": [], | ||
"type": "builtin", | ||
"display_name": "JetBrains", | ||
"slug": "jetbrains", | ||
"icon": "/icon/intellij.svg", | ||
"seconds": 0, | ||
"times_used": 0 | ||
}, | ||
{ | ||
"template_ids": [], | ||
"type": "builtin", | ||
"display_name": "Web Terminal", | ||
"slug": "reconnecting-pty", | ||
"icon": "/icon/terminal.svg", | ||
"seconds": 0, | ||
"times_used": 0 | ||
}, | ||
{ | ||
"template_ids": [], | ||
"type": "builtin", | ||
"display_name": "SSH", | ||
"slug": "ssh", | ||
"icon": "/icon/terminal.svg", | ||
"seconds": 0, | ||
"times_used": 0 | ||
}, | ||
{ | ||
"template_ids": [], | ||
"type": "builtin", | ||
"display_name": "SFTP", | ||
"slug": "sftp", | ||
"icon": "/icon/terminal.svg", | ||
"seconds": 0, | ||
"times_used": 0 | ||
} | ||
], | ||
"parameters_usage": [] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -517,6 +517,8 @@ func createWorkspace( | ||
// Update audit log's organization | ||
auditReq.UpdateOrganizationID(template.OrganizationID) | ||
// TODO (SasSwart): api.Authorize below is already done above. This seems redundant. | ||
// Should we remove this? | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Yep, that does look redundant. Let's remove it in a separate PR. | ||
// Do this upfront to save work. If this fails, the rest of the work | ||
// would be wasted. | ||
if !api.Authorize(r, policy.ActionCreate, | ||
Uh oh!
There was an error while loading.Please reload this page.