[ECODP-dev] creating users using upper caseing

Bert Van Nuffelen bert.van.nuffelen at tenforce.com
Mon Oct 14 13:52:07 UTC 2013


Hi John,

thanks, then between your call and our should be a translation.

Bert




2013/10/14 John Glover <john.glover at okfn.org>

> Hi Bert,
>
> What are the steps necessary to recreate this behaviour in release 1? It
> works as expected for me (allows upper case characters) on the test server:
>
> paster user add TestUpperCase -c <config>
>
> Creating user: 'TestUpperCase'
> {'about': None,
>  'apikey': u'xxxxxxxx',
>  'created': '2013-10-14T15:26:07.148368',
>  'display_name': u'TestUpperCase',
>  'email': u'',
>  'email_hash': 'd41d8cd98f00b204e9800998ecf8427e',
>  'fullname': None,
>  'id': u'0e964f0e-b610-440f-a6ea-153fdbf95806',
>  'name': u'TestUpperCase',
>  'number_administered_packages': 0L,
>  'number_of_edits': 0L,
>  'openid': None,
>  'reset_key': None}
>
> Regards,
> John
>
>
> On 14 October 2013 13:11, Bert Van Nuffelen <
> bert.van.nuffelen at tenforce.com> wrote:
>
>> Hi Darwin,
>>
>>
>> What do you mean "correct" behaviour?
>>
>> I see obviously a problem: namely the username is specified in UPPERCASE
>> and then by CKAN lowercased. This is nowhere documented.
>> Moreover the user who previously in release 00.08.0x could login with the
>> uppercased username cannot do it anymore in release 00.09.00.
>> Also the extract below is made on a release 01.00.00 and this is not the
>> expected behaviour according to PO.
>>
>> kind regards,
>>
>> Bert
>>
>>
>>
>> 2013/10/14 Darwin Peltan <darwin.peltan at okfn.org>
>>
>>> Hi Bert,
>>>
>>> We've checked and this works correctly on release 01.00 so unless we are
>>> proposing doing another version of release 09.00 I don't think there is any
>>> further advice we can give at the moment.
>>>
>>> Best,
>>>
>>> Darwin
>>>
>>> *Darwin Peltan*
>>>
>>> *Project Manager  |  skype: darwinp  |  twitter: @darwin<http://twitter.com/darwin>
>>> *
>>>
>>> *The Open Knowledge Foundation <http://okfn.org/>*
>>>
>>> *Empowering through Open Knowledge*
>>>
>>> *http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
>>> Facebook <https://www.facebook.com/OKFNetwork>  |  Blog<http://blog.okfn.org/> |
>>> Newsletter <http://okfn.org/about/newsletter>*
>>> *
>>> CKAN | http://ckan.org | @ckanproject <http://twitter.com/ckanproject> |open source data management platform
>>> *
>>>
>>>
>>> On 11 October 2013 12:19, Bert Van Nuffelen <
>>> bert.van.nuffelen at tenforce.com> wrote:
>>>
>>>> Hi John,
>>>>
>>>> PO reports the following issue. They create users like "PUBLuser01" and
>>>> since release 00.09.0x these users are on creation lowercased. See the call
>>>> of the script and the answer printed by the paster command.
>>>>
>>>> It seems there is a lowercasing now happening.
>>>>
>>>> Can you have a look?
>>>>
>>>> kind regards,
>>>>
>>>> Bert
>>>>
>>>>
>>>> bash-4.1$ ./ckan_create_publ_user.sh PUBLuser01 cnect
>>>> 03b4385b-2cee-443a-b38a-fdeb58cb1149 http://localhost
>>>> Password:
>>>> Confirm password:
>>>> Creating user: 'publuser01'
>>>> {'about': None,
>>>>  'apikey': u'70d76195-adb0-4b9d-bd12-e20bf8996697',
>>>>  'created': '2013-10-11T13:12:19.582082',
>>>>  'display_name': u'publuser01',
>>>>  'email': u'',
>>>>  'email_hash': 'd41d8cd98f00b204e9800998ecf8427e',
>>>>  'fullname': None,
>>>>  'id': u'58462f9c-865f-4f23-abb1-275b37f8a86b',
>>>>  'name': u'publuser01',
>>>>  'number_administered_packages': 0L,
>>>>  'number_of_edits': 0L,
>>>>  'openid': None,
>>>>  'reset_key': None}
>>>>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>>>> Current
>>>>                                  Dload  Upload   Total   Spent    Left
>>>>
>>>>
>>>>
>>>> --
>>>> Bert Van Nuffelen
>>>>
>>>> Semantic Technologies Software Architect at TenForce
>>>> www.tenforce.be
>>>>
>>>> Bert.Van.Nuffelen at tenforce.com
>>>> Office: +32 (0)16 31 48 60
>>>> Mobile:+32 479 06 24 26
>>>> skype: bert.van.nuffelen
>>>>
>>>> _______________________________________________
>>>> Ecodp-dev mailing list
>>>> Ecodp-dev at lists.okfn.org
>>>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Ecodp-dev mailing list
>>> Ecodp-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>>
>>>
>>
>>
>> --
>> Bert Van Nuffelen
>>
>> Semantic Technologies Software Architect at TenForce
>> www.tenforce.be
>>
>> Bert.Van.Nuffelen at tenforce.com
>> Office: +32 (0)16 31 48 60
>> Mobile:+32 479 06 24 26
>> skype: bert.van.nuffelen
>>
>> _______________________________________________
>> Ecodp-dev mailing list
>> Ecodp-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>
>>
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>


-- 
Bert Van Nuffelen

Semantic Technologies Software Architect at TenForce
www.tenforce.be

Bert.Van.Nuffelen at tenforce.com
Office: +32 (0)16 31 48 60
Mobile:+32 479 06 24 26
skype: bert.van.nuffelen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20131014/fcd2d3b1/attachment.html>


More information about the ecodp-dev mailing list