Skip to content

Commit e611478

Browse files
author
Shairyar Baig
authored
Merge pull request #1120 from travis-ci/dm_remove_push_permission_on_prioritize_flag
Removed push permission for prioritize flag on Build and Job level
2 parents 4f8b63c + 5fec655 commit e611478

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/travis/api/v3/permissions/build.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def restart?
1111
end
1212

1313
def prioritize?
14-
write? && build_priorities?
14+
read? && build_priorities?
1515
end
1616
end
1717
end

lib/travis/api/v3/permissions/job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def delete_log?
1919
end
2020

2121
def prioritize?
22-
write? && build_priorities?
22+
read? && build_priorities?
2323
end
2424
end
2525
end

0 commit comments

Comments
 (0)