Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3297)

Unified Diff: appengine/swarming/elements/res/imp/common/swarming-app.html

Issue 2266133002: Add filter to task-list (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@extract-filters
Patch Set: Fix default sort Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/elements/res/imp/common/swarming-app.html
diff --git a/appengine/swarming/elements/res/imp/common/swarming-app.html b/appengine/swarming/elements/res/imp/common/swarming-app.html
index 9bb66b18824d74790a4432652f0bad4eb2582fcf..e487a6c05a5a02501d4eb9eacf250292bb31e30c 100644
--- a/appengine/swarming/elements/res/imp/common/swarming-app.html
+++ b/appengine/swarming/elements/res/imp/common/swarming-app.html
@@ -113,6 +113,16 @@
value: false,
notify:true,
},
+ permissions: {
+ type: Object,
+ value: function() {
+ // TODO(kjlubick): Make this call the whoami endpoint after signing in.
+ return {
+ can_cancel_task: true,
+ }
+ },
+ notify: true,
+ },
busy: {
type: Boolean,

Powered by Google App Engine
This is Rietveld 408576698