File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
src/main/ml-config/security/roles Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -113,10 +113,8 @@ ext {
113113 // build/mlRestApi/(name of dependency)/ml-config/databases directory.
114114 configDir. contentDatabaseFiles. add(new File (" src/main/ml-config/databases/more-content-database-config.json" ))
115115
116- // For the tasks below that depend on XCC - such as for running corb or creating triggers - the following URL
117- // will be used. In this sample project, the sample-project-rest-admin user has the privileges necessary to
118- // create triggers, so we use that user.
119- contentXccUrl = " xcc://${ mlRestAdminUsername} :${ mlRestAdminPassword} @${ mlHost} :8000/${ mlAppConfig.contentDatabaseName} "
116+ // XCC URL for running corb task below and for creating triggers on pre-8.0-4 builds of MarkLogic
117+ contentXccUrl = " xcc://${ mlRestAdminUsername} :${ mlRestAdminPassword} @${ mlHost} :${ mlRestPort} "
120118 }
121119}
122120
Original file line number Diff line number Diff line change 2121 </privilege >
2222 <!-- End privileges -->
2323
24+ <!-- Privileges for running corb -->
25+ <privilege >
26+ <privilege-name >xdbc:invoke</privilege-name >
27+ <action >http://marklogic.com/xdmp/privileges/xdbc-invoke</action >
28+ <kind >execute</kind >
29+ </privilege >
30+
2431 <!-- Privileges for creating triggers -->
2532 <privilege >
2633 <privilege-name >create-trigger</privilege-name >
You can’t perform that action at this time.
0 commit comments