hot fix
This commit is contained in:
parent
eec4ec95a7
commit
0de439e9cb
|
@ -87,7 +87,7 @@ class Ability
|
|||
can(:reject_publish, BuildList) do |build_list|
|
||||
local_admin?(build_list.save_to_platform)
|
||||
end
|
||||
can([:cancel. :create_container], BuildList) {|build_list| can?(:write, build_list.project)}
|
||||
can([:cancel, :create_container], BuildList) {|build_list| can?(:write, build_list.project)}
|
||||
|
||||
can [:read, :owned, :related, :members], Platform, :owner_type => 'User', :owner_id => user.id
|
||||
can [:read, :related, :members], Platform, :owner_type => 'Group', :owner_id => user.group_ids
|
||||
|
|
Loading…
Reference in New Issue