#167: added comments, updated ability.rb
This commit is contained in:
parent
b4ffae9a9c
commit
8d7a9426af
|
@ -171,8 +171,6 @@ class Ability
|
|||
|
||||
cannot(:cancel, MassBuild) {|mass_build| mass_build.stop_build}
|
||||
|
||||
cannot(:regenerate_metadata, Repository) {|repository| !repository.platform.main?}
|
||||
|
||||
if @user.system?
|
||||
can :key_pair, Repository
|
||||
else
|
||||
|
|
|
@ -3,6 +3,7 @@ module AbfWorker
|
|||
class BuildListsPublishTaskManager
|
||||
REDIS_MAIN_KEY = 'abf-worker::build-lists-publish-task-manager::'
|
||||
|
||||
# LOCKED_REP_AND_PLATFORMS: ['save_to_repository_id-build_for_platform_id', ...]
|
||||
%w(RESIGN_REPOSITORIES
|
||||
PROJECTS_FOR_CLEANUP
|
||||
LOCKED_PROJECTS_FOR_CLEANUP
|
||||
|
|
Loading…
Reference in New Issue