https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362009-03-23T16:23:22ZEcoinformatics RedmineMetacat - Bug #3908: replication data user permission errorhttps://projects.ecoinformatics.org/ecoinfo/issues/3908?journal_id=131892009-03-23T16:23:22Zben leinfelderleinfelder@nceas.ucsb.edu
<ul></ul><p>looking into documents on LTER metacat:<br />pisco_recruitment.120 is a data file in the package pisco_recruitment.123.<br />There is an additionalMetadata element that specifies permissions for data 120:<br />additionalMetadata
|___text '\n '
|___element 'describes'
| |___text 'pisco_recruitment.120'
|___text '\n '
|___element 'access'
| | \___attribute 'authSystem' = 'ldap://ldap.ecoinformatics.org:389/dc=ecoinformatics,dc=org'
| | \___attribute 'order' = 'denyFirst'
| |___text '\n '
| |___element 'allow'
| | |___text '\n '
| | |___element 'principal'
| | | |___text 'public'
| | |___text '\n '
| | |___element 'permission'
| | | |___text 'read'
| | |___text '\n '
| |___text '\n '
| |___element 'allow'
| | |___text '\n '
| | |___element 'principal'
| | | |___text 'cn=data-managers,o=PISCOGROUPS,dc=ecoinformatics,dc=org'
| | |___text '\n '
| | |___element 'permission'
| | | |___text 'all'
| | |___text '\n '
| |___text '\n '
| |___element 'allow'
| | |___text '\n '
| | |___element 'principal'
| | | |___text 'cn=pisco-intertidal-write,o=PISCOGROUPS,dc=ecoinformatics,dc=org'
| | |___text '\n '
| | |___element 'permission'
| | | |___text 'all'
| | |___text '\n '
| |___text '\n '
|___text '\n'</p> Metacat - Bug #3908: replication data user permission errorhttps://projects.ecoinformatics.org/ecoinfo/issues/3908?journal_id=131902009-03-23T16:57:03Zben leinfelderleinfelder@nceas.ucsb.edu
<ul></ul><p>looking at the error message again, and looking at the Ids involved:<br />i found EML doc "pisco_recruitment.123.1" that specifies access for data file "pisco_recruitment.120.1" <br />but the log message indicates that "pisco_recruitment.314.1" is trying to ALSO specify access for data file "pisco_recruitment.120.1" <br />Is this perhaps what the problem is?<br />Also note: I cannot find the eml file "pisco_recruitment.314.1" on the LTER server.</p> Metacat - Bug #3908: replication data user permission errorhttps://projects.ecoinformatics.org/ecoinfo/issues/3908?journal_id=131912009-03-23T17:45:03ZJing Taotao@nceas.ucsb.edu
<ul></ul><p>Hi, ben. I think this is perhaps the issue: "pisco_recruitment.314.1" is trying to ALSO specify access for data file "pisco_recruitment.120.1"</p> Metacat - Bug #3908: replication data user permission errorhttps://projects.ecoinformatics.org/ecoinfo/issues/3908?journal_id=131922009-03-24T20:56:01ZMichael Daigledaigle@nceas.ucsb.edu
<ul></ul><p>The replication system was getting a user from the post request for certain read operations. It should have ALL permissions. Added a "replication" user that has ALL permissions and use that user for all replication read and write calls.</p> Metacat - Bug #3908: replication data user permission errorhttps://projects.ecoinformatics.org/ecoinfo/issues/3908?journal_id=131932009-03-24T20:56:43ZMichael Daigledaigle@nceas.ucsb.edu
<ul></ul><p>Note, the replication user was added to the SessionService (next to the public user) so that it is always logged in.</p> Metacat - Bug #3908: replication data user permission errorhttps://projects.ecoinformatics.org/ecoinfo/issues/3908?journal_id=131942013-03-27T21:24:57ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 3908</p>