Closed shevski closed 10 years ago
This is probably because datahub.io does not allow unowned packages and/or users without organisations to create packages http://docs.ckan.org/en/latest/authorization.html#configuration-file-options
The error message should explain that on datahub.io you have to be added to an organisation by an organisation admin or sysadmin before you can contribute data and that you can visit the DataHub Support site to contact a sysadmin http://datahub.tenderapp.com/
Perhaps these package creation error messages could be intercepted and changed before display? https://github.com/okfn/ckan/blob/master/ckan/templates/page.html#L24
The plan (concocted this evening) is to provide auth_functions that redirect to pages on help.datahub.io instead of just sending the user to the login page. I have some mostly working code, I just need to rustle up some tests to make sure it does actually work.
Retitled issue to be more descriptive ...
@rossjones i've put a somewhat better warning / instructions at top of http://blog.datahub.io/2013/10/11/organization-migration-complete/ (which is what is linked from top of datahub.io itself) but obviously not sure many people will click through ...
I also think we prob don't want auth function to redirect to help.datahub.io but probably to give a useful with some brief instructions and directly them to go there ... (its still a bit of a pain as they'll have to register again but not the end of the world ...)
FIXED in PR #51
Original title: error message when trying to add data"
Description of problem
From Mark Wainwright
It's not very clear from the upgrade post [1] or the about page [2]. As I understand, if a new user wants to create datasets,they must first contact datahub and ask for an Organization to be created with them as an admin - is that right? But it's not obvious, which is a barrier to people using it.
[1] http://blog.datahub.io/2013/10/11/organization-migration-complete/ [2] http://datahub.io/about