On 03/15/2010 02:30 PM, Scott Seago wrote:
> Mohammed Morsi wrote:
>>    new ui / backend, cleaned up, and included tests
>> ---
>>  src/app/controllers/portal_pool_controller.rb      |    4 +++
>>  src/app/views/portal_pool/accounts.html.erb        |   21 
>> ++++++++++++++++++++
>>  .../controllers/portal_pool_controller_spec.rb     |    9 ++++++++
>>  3 files changed, 34 insertions(+), 0 deletions(-)
>>  create mode 100644 src/app/views/portal_pool/accounts.html.erb
>>
>> diff --git a/src/app/controllers/portal_pool_controller.rb 
>> b/src/app/controllers/portal_pool_controller.rb
>> index d17eaac..584028c 100644
>> --- a/src/app/controllers/portal_pool_controller.rb
>> +++ b/src/app/controllers/portal_pool_controller.rb
>> @@ -33,6 +33,10 @@ class PortalPoolController < ApplicationController
>>      @instances = @pool.instances
>>    end
>>
>> +  def accounts
>> +    @pool = PortalPool.find(params[:id])
>> +  end
>> +
> You need to add the appropriate permissions check here. It should be 
> the same check as we have in the 'show' action (i.e. checking for 
> pool_view)
>
> Scott
>

Updated and sent

    -Mo

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to