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 [m...@markgius.com]
Sent: Wednesday, July 20, 2011 4:12 PM
To: Yogi Srikrishnan
Cc: Jay Pipes; openstack@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.srikrish...@rackspace.com<mailto:yogesh.srikrish...@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 [jaypi...@gmail.com<mailto:jaypi...@gmail.com>]
Sent: Wednesday, July 20, 2011 1:54 PM
To: openstack@lists.launchpad.net<mailto:openstack@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@lists.launchpad.net<mailto:openstack@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 ab...@rackspace.com<mailto:ab...@rackspace.com>, and delete the original 
message.
Your cooperation is appreciated.


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : 
openstack@lists.launchpad.net<mailto:openstack@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 ab...@rackspace.com, and delete the original message. 
Your cooperation is appreciated.

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to