| Index: appengine/swarming/server/task_scheduler.py
|
| diff --git a/appengine/swarming/server/task_scheduler.py b/appengine/swarming/server/task_scheduler.py
|
| index 5da8fdcbc0a4a327fbb138bbed44f93d0662320a..bfff3d433f5b898a5f1b0d510a50cf935f33c6ad 100644
|
| --- a/appengine/swarming/server/task_scheduler.py
|
| +++ b/appengine/swarming/server/task_scheduler.py
|
| @@ -403,7 +403,8 @@ def _check_dimension_acls(request):
|
| # 'pool' is used as well (so whoever can posts tasks to 'pool', can target an
|
| # individual bot in that pool).
|
| if 'id' in dims and 'pool' not in dims:
|
| - if not acl.is_admin():
|
| + # Only super-users can create a task without 'id' nor 'pool'.
|
| + if not acl.can_config_edit():
|
| raise auth.AuthorizationError(
|
| 'Only Swarming administrators can post tasks with "id" dimension '
|
| 'without specifying a "pool" dimension.')
|
|
|