Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround CMA payload issues #1334

Merged
merged 1 commit into from Sep 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -9,71 +9,85 @@
{
"privilege-name": "dba-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(dba)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "stagingWriter-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(stagingWriter)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "stagingReader-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(stagingReader)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "finalReader-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(finalReader)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "finalWriter-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(finalWriter)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "moduleExecutor-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(moduleExecutor)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "flowDeveloper-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(flowDeveloper)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "flowOperator-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(flowOperator)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "endpointDeveloper-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(endpointDeveloper)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "endpointUser-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(endpointUser)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "flowDeveloper-edit",
"action": "http://marklogic.com/xdmp/privileges/role/edit/$$role-id(flowDeveloper)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "flowOperator-edit",
"action": "http://marklogic.com/xdmp/privileges/role/edit/$$role-id(flowOperator)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "endpointDeveloper-edit",
"action": "http://marklogic.com/xdmp/privileges/role/edit/$$role-id(endpointDeveloper)",
"role": ["securityAdmin"],
"kind": "execute"
},
{
"privilege-name": "endpointUser-edit",
"action": "http://marklogic.com/xdmp/privileges/role/edit/$$role-id(endpointUser)",
"role": ["securityAdmin"],
"kind": "execute"
}
]
Expand Down
Expand Up @@ -228,64 +228,6 @@
{ "privilege-name": "create-data-role",
"action": "http://marklogic.com/xdmp/privileges/create-data-role",
"kind": "execute"
},
{ "privilege-name": "dba-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(dba)",
"kind": "execute"
},
{ "privilege-name": "stagingWriter-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(stagingWriter)",
"kind": "execute"
},
{ "privilege-name": "stagingReader-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(stagingReader)",
"kind": "execute"
},
{ "privilege-name": "finalReader-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(finalReader)",
"kind": "execute"
},
{ "privilege-name": "finalWriter-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(finalWriter)",
"kind": "execute"
},
{ "privilege-name": "moduleExecutor-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(moduleExecutor)",
"kind": "execute"
},

{ "privilege-name": "flowDeveloper-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(flowDeveloper)",
"kind": "execute"
},
{ "privilege-name": "flowOperator-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(flowOperator)",
"kind": "execute"
},
{ "privilege-name": "endpointDeveloper-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(endpointDeveloper)",
"kind": "execute"
},
{ "privilege-name": "endpointUser-inherit",
"action": "http://marklogic.com/xdmp/privileges/role/inherit/$$role-id(endpointUser)",
"kind": "execute"
},

{ "privilege-name": "flowDeveloper-edit",
"action": "http://marklogic.com/xdmp/privileges/role/edit/$$role-id(flowDeveloper)",
"kind": "execute"
},
{ "privilege-name": "flowOperator-edit",
"action": "http://marklogic.com/xdmp/privileges/role/edit/$$role-id(flowOperator)",
"kind": "execute"
},
{ "privilege-name": "endpointDeveloper-edit",
"action": "http://marklogic.com/xdmp/privileges/role/edit/$$role-id(endpointDeveloper)",
"kind": "execute"
},
{ "privilege-name": "endpointUser-edit",
"action": "http://marklogic.com/xdmp/privileges/role/edit/$$role-id(endpointUser)",
"kind": "execute"
}
]
}
Expand Down
@@ -1,6 +1,6 @@
{
"config": {
"amps": [
"amp": [
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you try this? As I recall I the schema validation prevented me from submitting this with 'amp', one of those plural issues

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works -- i think when i first added the plural, it was because i had not installed the modules db yet. with sec* builtins that's an error, with CMA it's silent fail. So thanks for this pR, it's all good.

{
"namespace": "",
"local-name": "addResponseHeader",
Expand Down