NCEAS / morpho

Morpho metadata editor
GNU General Public License v2.0
3 stars 1 forks source link

Cannot save updated Data Package version to Network, despite full access permissions #904

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: Rick Reeves (Rick Reeves) Original Redmine Issue: 5080, https://projects.ecoinformatics.org/ecoinfo/issues/5080 Original Date: 2010-07-06 Original Assignee: ben leinfelder


Running Morpho 1.8 under Windows 7/64, I am importing and documenting a new .csv table to an existing data package knb.247.6 saved locally on my system. I am logged in as (Carlos) Melian, the originator of this package. Carlos' account has full access rights to the When I try to save the data package (with new documentation) to the network, Morpho displays the following error message (also see attached screenshot):

"Problem with saving to Metacat in EML200DataPackage" <?xml version="1.0"?> User tried to update an access module with they dont have "ALL" permission!

In fact, as logged in (as Carlos), I do have ALL permission.

I need to be able to save this package to Metacat, need to get this resolved.

Thanks, Rick R

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2010-07-07T18:58:31Z


The permissions look to be fine in both the EML and in the DB (both data and metadata are owned by 'uid=melian,o=NCEAS,dc=ecoinformatics,dc=org' If you are indeed logged in as that user, you shouldn't even need to have explicit permissions defined for that user since it 'owns' the documents. What does the local data package look like?

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2010-07-07T19:18:56Z


One idea for isolating the problem: -get the version as it exists on the server (knb.247.5) -make a simple edit (say to the title) -save to metacat If that works, then you can try adding a data table...and try the save again.

mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2010-07-07T22:22:09Z


Starting from the clean network version: -saved a copy locally -did a minimal metadata edit -saved to the network again Worked. Unfortunately this package (knb.247) was deleted soon after. On the brightside, a duplicate of the package still existed and was saved to the network. A mock data file was attached and had different permissions set on it. This too worked (see melian.8.x). Not sure what the glitch was with knb.247, but will have to wait for it to crop up again before tracking it down more.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:29:09Z


Original Bugzilla ID was 5080