MSO4SC / MSOPortal

MSO4SC Web Portal
2 stars 4 forks source link

CKAN end-users cannot create datasets #70

Open victorsndvg opened 6 years ago

victorsndvg commented 6 years ago

I register a end-user profile for doing some tests (vsande_user), it seems that I'm not able to create new datasets with this user. I'm doing something wrong?

I think end-users must be able to create their own datasets in CKan as it's the selected middleware to interact with external input/output data.

emepetres commented 6 years ago

To create datasets in ckan, users must be "admin" in ckan. Regular uses only can use it. This makes sense because any user can now register on MSO4SC and start using it.

Regarding how to make an user admin in CKAN, it is done through an script that is inside the MSOPortal/ckan folder. This script writes in the CKAN db that the user provided is admin. For now there is no easier way to do it.

victorsndvg commented 6 years ago

I think this is not solved.

end-users need to provide their own data.

A temporal workaround can be to create an end-user group and include particular users as editors

What do you think?

Trophime commented 6 years ago

There is a way to do it by organization but the user has to connect at least once. As an admin of an organization you can add the user as a:

emepetres commented 6 years ago

@victorsndvg I'm not sure it is a good a idea to let everyone to add content to CKAN. The solution that @Trophime is proposing makes more sense to me.

I think discussion about it should be done on the TC meeting.