-
Notifications
You must be signed in to change notification settings - Fork 2
Access is denied when I test creation project in Playground #147
Comments
Well, for now only oasis.meta admins have the right to change project ;) However, I've already created a project event_0 for you (and given you Regards, Le 14/12/2015 15:02, divanski a écrit :
|
When I test inport to event_0 project, I have sam error - Access is denied (as 7aa76b4f-8233-4e8e-a24b-09c30b2dfb60). |
in which env, as which user ? users who have rights on Resources & models in event_0 project (i.e. that are in "Ozwillo Datacore event Admins" org in each env) are:
... none are 7aa76b4f-8233-4e8e-a24b-09c30b2dfb60 that you've talked about above. |
In preprod ... user "[email protected]" |
OK, just invited this email in said org in both preprod & prod, so accept it and it should work. |
Ok. Now I have rights, but when i test import: |
Well, now at least you have successfully importer "4 models", congratulations. Could you please provide me your models & resources CSV files (by email) so I can try myself and see what goes wrong ? (do you know my email ?) |
Well, after having a look at your model & resource CSVs, the reason is the most obvious one: your data CSV file's column titles are not in Internal field name nor Field name columns, that's why the tool can't find any known data to import. So rather empty your Internal field name column, put in your data column titles value from the Field name column. And for i18n fields ex. evntl:title only, put evntlbg:title, evntlen:title etc. in your data column titles, which requires adding the corresponding lines to the model CSV: Have a look at how it's done in the master model for ex. geoco:name.0.v : And obviously at the Import tool doc at https://github.com/pole-numerique/oasis-datacore/wiki/Playground-&-Import-UI-demo-scenario---Provto-&-OpenElec |
I follow step-by-step instruction in https://github.com/ozwillo/ozwillo-datacore/wiki/Configuring-Projects-and-Default-Rights
This is my project:
{
"@id": "http://data.ozwillo.com/dc/type/dcmp:Project_0/altevent_0",
"@type": [
"dcmp:Project_0",
"dcmpv:PointOfView_0",
"odisp:Displayable_0"
],
"dc:created": "2015-12-08T18:21:47.000+01:00",
"dc:modified": "2015-12-09T11:46:32.965+01:00",
"dc:contributor": "7aa76b4f-8233-4e8e-a24b-09c30b2dfb60",
"dcmpv:name": "altevent_0",
"dcmpv:majorVersion": 0,
"dcmp:localVisibleProjects": [
"http://data.ozwillo.com/dc/type/dcmp:Project_0/oasis.meta",
"http://data.ozwillo.com/dc/type/dcmp:Project_0/geo_1",
"http://data.ozwillo.com/dc/type/dcmp:Project_0/org_1"
],
"dcmp:forkedUris": [],
"dcmpv:unversionedName": "altevent",
"dcmp:useCasePointOfViews": [],
"dcmp:securityDefaults": {
"dcms:resourceCreators": [],
"dcms:resourceWriters": [],
"@type": [
"dcms:Security_0"
],
"dcms:resourceCreationOwners": [],
"dcms:isAuthentifiedReadable": true,
"dcms:isAuthentifiedWritable": false,
"dcms:resourceOwners": [
"7aa76b4f-8233-4e8e-a24b-09c30b2dfb60"
],
"@id": "http://data.ozwillo.com/dc/type/dcms:Security_0/dcmp:Project_0/altevent_0/dcmp:securityDefaults",
"dcms:isAuthentifiedCreatable": true,
"dcms:resourceReaders": []
},
"dcmp:frozenModelNames": [],
"dcmp:modelLevelSecurityEnabled": false,
"dcmp:allowedModelPrefixes": [],
"dcmp:visibleProjectNames": [
"altevent_0",
"oasis.meta",
"geo_1",
"org_1"
],
"dcmp:visibleSecurityConstraints": {
"dcms:resourceCreators": [],
"dcms:resourceWriters": [],
"@type": [
"dcms:Security_0"
],
"dcms:resourceCreationOwners": [],
"dcms:isAuthentifiedReadable": true,
"dcms:isAuthentifiedWritable": false,
"dcms:resourceOwners": [],
"@id": "http://data.ozwillo.com/dc/type/dcms:Security_0/dcmp:Project_0/altevent_0/dcmp:visibleSecurityConstraints",
"dcms:isAuthentifiedCreatable": true,
"dcms:resourceReaders": []
}
}
But I steel get "Access is denied".
Where is my mistake?
The text was updated successfully, but these errors were encountered: