[ECODP-dev] evaluation new ODP site
Bert Van Nuffelen
bert.van.nuffelen at tenforce.com
Thu Feb 28 17:18:50 UTC 2013
Hi Darwin,
we use the usual way to create the user...
Your question triggered an item to update a call in the script
ckan_create_publ_user where the url to the api call had to be adapted to
the new url scheme.
Here is the trace:
[root at ecodp-odp3 ckan_management]# ./ckan_create_publ_user.sh newpub cnect
b850f583-0639 -4521-9eae-3d6da8d52b5e http://localhost
Password:
Confirm password:
Creating user: 'newpub'
2013-02-28 18:04:24,639 INFO [ckan.new_authz] Using auth profile at
ckan.logic.auth.pub lisher
{'about': None,
'apikey': u'10008680-1f42-490c-9e34-321b7c647464',
'created': '2013-02-28T18:04:24.657198',
'display_name': u'newpub',
'email': u'',
'email_hash': 'd41d8cd98f00b204e9800998ecf8427e',
'fullname': None,
'id': u'83d22e45-5f33-4a9b-85a0-897ad7b7a657',
'name': u'newpub',
'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
Speed
112 1014 101 1014 0 110 864 93 0:00:01 0:00:01 --:--:--
771
{"help": "Make an object (e.g. a user, dataset or group) a member of a
group.\n\n If the object is already a member of the group then the
capacity of the\n membership will be u pdated.\n\n You must be
authorized to edit the group.\n\n :param id: the id or name of t he
group to add the object to\n :type id: string\n :param object: the id or
name of the object to add\n :type object: string\n :param
object_type: the type of the object being added, e.g.
``'package'``\n or ``'user'``\n :type object_type: string\n :param
capacity: the capacity of the membership\n :type capacity:
string\n\n :returns: the newly created (or updated) membership\n
:rtype: dictionary\n\n ", "success": true, "result": {"capaci ty":
"editor", "state": "active", "table_id":
"83d22e45-5f33-4a9b-85a0-897ad7b7a657", "t able_name": "user",
"revision_id": "d2abb449-ed5d-4343-bd8f-9e690a66cec8", "group_id":
" 85416712-7e75-4a05-bd49-77e336ec7e4c", "id":
"e1fe54c2-8a7b-47b9-ae7f-025dc7b86260"}}
[root at ecodp-odp3 ckan_management]#
the publisher is newpub/newpub
but the problem stays: the add button is not present ?
kind regards,
Bert
2013/2/28 Darwin Peltan <darwin.peltan at okfn.org>
> Hi Bert,
>
> Thanks for your email. Are you sure that the user has the correct
> permissions to add a dataset?
>
> The link to the form is missing but if I go directly to the add dataset
> page when logged in as that user I'm prompted to login in again.
>
> If I log in as an admin and go to the page I can access the page.
>
> http://odp.tenforce.com/data/en/dataset/new
>
> Best,
>
> Darwin
>
> Darwin Peltan
> Project Manager
>
> The Open Knowledge Foundation
> http://www.okfn.org
>
> Skype: darwinp
> Twitter: @darwin
>
>
> On 28 February 2013 15:59, Bert Van Nuffelen <
> bert.van.nuffelen at tenforce.com> wrote:
>
>> Hi Darwin, John and David,
>>
>> We had today a testing experiment with 2 people (Natasa & Karel) to
>> evaluate the new design & the functionality. The report is found here:
>> https://docs.google.com/a/tenforce.com/spreadsheet/ccc?key=0AmHepzysKKzHdEx3Tk9SVnVkUDFDeGs2UzdzQTNENEE&usp=sharing).
>>
>> They spotted a main regression at the web interface for the data
>> publishers: namely they cannot add/create datasets. E.g. the user
>> thepublisher/acp1 is a normal publisher but cannot add data ... Only when
>> this problem is fixed, the remaining part of the website can be tested.
>>
>> Best regards,
>>
>> Bert
>>
>> --
>> 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/20130228/9ad436e0/attachment.html>
More information about the ecodp-dev
mailing list