Replies: 1 comment 5 replies
-
Hi @sebmr2, I created a MongoDB custom role with limited privileges, so that I could test CRUD Service behavior. I observed that Nonetheless, CRUD Service prints out a log every time an action it wants to perform cannot be performed due to insufficient privileges. These log state which command cannot be executed, easing the selection of which privilege actions should be applied. Therefore, you may further try experimenting with user privileges and observe which ones allows the service to work properly. In the image below it can be seen which privilege actions where assigned to the custom role assigned to the Mongo user employed for the test I carried out. |
Beta Was this translation helpful? Give feedback.
-
Description
Trying to prevent the CRUD service from having the dropCollection permission. When using the CRUD service to create views, it tries a drop and then creates the view as if it was always altering an existing view, My initial thought is I could elevate the accounts access and then remove post deploy. Will anything break if the service account has dropCollection removed? Is there a way to skip certain objects and generate a script for them?
Beta Was this translation helpful? Give feedback.
All reactions