[Openstack] [Keystone] Question from mgius on IRC about update_user API call

Yogi Srikrishnan yogesh.srikrishnan at RACKSPACE.COM
Wed Jul 20 22:01:20 UTC 2011


Even if we remove this restriction you still need to fetch and examine disabled users only by fetching every user with a get_users call. Do you think whether we need a shorthand operation just to get the disabled users.I am fine with removing these checks.
Yogeshwar Srikrishnan
Rackspace
________________________________
From: Mark Gius [mark at markgius.com]
Sent: Wednesday, July 20, 2011 4:12 PM
To: Yogi Srikrishnan
Cc: Jay Pipes; openstack at lists.launchpad.net
Subject: Re: [Openstack] [Keystone] Question from mgius on IRC about update_user API call

Would you be opposed to removing the check for disabled in get_user, and possibly update_user as well?  As it stands now, you can only fetch and examine disabled users by fetching every user with get_users.

Is there some reason that a disabled user should not be fetched or updated?

Mark

On Wed, Jul 20, 2011 at 1:01 PM, Yogi Srikrishnan <yogesh.srikrishnan at rackspace.com<mailto:yogesh.srikrishnan at rackspace.com>> wrote:
Right now the code to update doesn't allow the operation if the user is disabled as there is a separate call to enable/disable user ie /users/userId/enabled .That call should allow the enabling/disabling of user independent of his current status.
Regards
Yogeshwar Srikrishnan
Rackspace

________________________________________
From: openstack-bounces+yogesh.srikrishnan=rackspace.com<http://rackspace.com>@lists.launchpad.net<http://lists.launchpad.net> [openstack-bounces+yogesh.srikrishnan=rackspace.com<http://rackspace.com>@lists.launchpad.net<http://lists.launchpad.net>] on behalf of Jay Pipes [jaypipes at gmail.com<mailto:jaypipes at gmail.com>]
Sent: Wednesday, July 20, 2011 1:54 PM
To: openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Subject: [Openstack] [Keystone] Question from mgius on IRC about update_user    API call

Keystone devs,

mgius had a question on IRC:

<mgius> I have a question about Keystone
<mgius> I'm looking to add support to the dashboard so that users can
be enabled or disabled from the dashboard
<mgius> but it looks like in update_user if the target user is
disabled a 403 is always thrown
<mgius> was that intentional?

-jay

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at abuse at rackspace.com<mailto:abuse at rackspace.com>, and delete the original message.
Your cooperation is appreciated.


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace. 
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at abuse at rackspace.com, and delete the original message. 
Your cooperation is appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110720/6ed36bde/attachment.html>


More information about the Openstack mailing list