---
src/app/controllers/instance_controller.rb | 2 +-
src/app/models/image.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/controllers/instance_controller.rb
b/src/app/controllers/instance_controller.rb
index e73d7cd..c898691 100644
--- a/src/app/controllers/instance_controller.rb
+++ b/src/app/controllers/instance_controller.rb
@@ -39,7 +39,7 @@ class InstanceController < ApplicationController
def new
@instance = Instance.new(params[:instance])
- require_privilege(Privilege::POOL_VIEW, @instance.pool) if @instance.pool
+ require_privilege(Privilege::INSTANCE_MODIFY, @instance.pool) if
@instance.pool
@pools = Pool.list_for_user(@current_user, Privilege::POOL_VIEW)
end
diff --git a/src/app/models/image.rb b/src/app/models/image.rb
index dbde903..9df4185 100644
--- a/src/app/models/image.rb
+++ b/src/app/models/image.rb
@@ -52,7 +52,7 @@ class Image < ActiveRecord::Base
# html table structure
COLUMNS = [
{:id => 'id', :header => '<input type="checkbox" id="image_id_all"
onclick="checkAll(event)">', :opts => {:checkbox_id => 'image_id', :searchable
=> false, :sortable => false, :width => '1px', :class => 'center'}},
- {:id => 'expand_button', :header => '', :header => '', :opts =>
{:searchable => false, :sortable => false, :width => '1px'}},
+ {:id => 'expand_button', :header => '', :opts => {:searchable => false,
:sortable => false, :width => '1px'}},
{:id => 'name', :header => 'Name', :opts => {:width => "30%"}},
{:id => 'architecture', :header => 'Architecture', :opts => {:width =>
"10%"}},
{:id => 'instances', :header => 'Instances', :opts => {:sortable => false,
:width => "10%"}},
--
1.6.2.5
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel