cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <mike.tutkow...@solidfire.com>
Subject Re: [4.5] Issue logging in under User account
Date Wed, 15 Jul 2015 02:44:56 GMT
OK, I had a bit of time to debug this more today.

As it turns out, it was my bad.

I was throwing an exception when checkAccess in my API plug-in didn't wish
to allow the user to leverage the specific operation, but I should have
been returning false.

All is well with this now. :)

On Fri, Jul 10, 2015 at 1:56 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> I can try to update again. I noticed this about two days ago when I had
> completed a rebase off of the newest at that time.
>
> Thanks
>
> On Fri, Jul 10, 2015 at 1:27 PM, Rohit Yadav <rohit.yadav@shapeblue.com>
> wrote:
>
>>  Try with latest 4.5? The API you listed is called when you open the UI,
>> it checks for certain capabilities to initialize some global javascript
>> variable (those with g_ prefix in cloudStack.js etc) and checks if the user
>> is logged in.
>>
>> On 09-Jul-2015, at 10:35 am, Mike Tutkowski <mike.tutkowski@solidfire.com>
>> wrote:
>>
>> Hi,
>>
>> I recently updated my local 4.5 branch to what's in the CloudStack repo
>> and
>> I noticed a problem trying to log in as a user of a User account (I get
>> back a 432 and the CloudStack GUI doesn't display an error message or
>> anything). (If I type in an incorrect password, I get back a proper error
>> message, though.)
>>
>> http://192.168.129.50:8080/client/api?
>> command=listCapabilities&response=json&sessionkey=PvVFTR5yXM4tITDZUZ6WFHbfhE0&_=1436418146466
>> 432 (432)
>>
>> Has anyone else had this trouble?
>>
>> Thanks,
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkowski@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the cloud
>> <http://solidfire.com/solution/overview/?video=play>*™*
>>
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>>
>>
>>
>>
>> M. +91 88 262 30892 | rohit.yadav@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>>
>>  Find out more about ShapeBlue and our range of CloudStack related
>> services
>>
>> IaaS Cloud Design & Build
>> <http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework <http://shapeblue.com/csforge/>
>> CloudStack Consulting <http://shapeblue.com/cloudstack-consultancy/>
>> CloudStack Software Engineering
>> <http://shapeblue.com/cloudstack-software-engineering/>
>> CloudStack Infrastructure Support
>> <http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses
>> <http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the author and do not necessarily
>> represent those of Shape Blue Ltd or related companies. If you are not the
>> intended recipient of this email, you must neither take any action based
>> upon its contents, nor copy or show it to anyone. Please contact the sender
>> if you believe you have received this email in error. Shape Blue Ltd is a
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>> a company registered by The Republic of South Africa and is traded under
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
<http://solidfire.com/solution/overview/?video=play>*™*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message