openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #03286
Re: [Keystone] Question from mgius on IRC about update_user API call
It looks like my previous email didn't go through because I hadn't
registered this email address with launchpad. Sending again.
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 2:12 PM, Mark Gius <mark@xxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxxx> 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@
>> lists.launchpad.net [openstack-bounces+yogesh.srikrishnan=rackspace.com@
>> lists.launchpad.net] on behalf of Jay Pipes [jaypipes@xxxxxxxxx]
>> Sent: Wednesday, July 20, 2011 1:54 PM
>> To: openstack@xxxxxxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxx, and delete the original message.
>> Your cooperation is appreciated.
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help : https://help.launchpad.net/ListHelp
>>
>
>
References