0

OpenIDM でのユーザー作成時に (AD グループを使用して)デフォルトのロールを割り当てたい。

OpenIDM REST APIを使用してロールの割り当てを作成および設定しましたが、特定のロールを追加せずにユーザーをAD グループに追加したいと考えています。

これが私の役割マッピングです:

{
  "properties": {
    "description": "Data Provider Role"
  },
  "assignments": {
    "ad": {
      "attributes": [
        {
          "name": "ldapGroups",
          "assignmentOperation": "mergeWithTarget",
          "unassignmentOperation": "removeFromTarget",
         "value": [
             "CN=GRP_SHARE_USERS,CN=Users,DC=acme,DC=com"
         ]
        }
      ]
    },
     "alfresco": {
         "attributes": [
                 {
                     "name": "groups",
                     "value": "ACMEUSER"
                 }
             ],
         "onAssignment": {
             "file": "roles/onAssignment_alfresco.groovy",
             "type": "groovy"
         },
         "onUnassignment": {
             "file": "roles/onUnassignment_alfresco.groovy",
             "type": "groovy"
         }
     }
  }
}

どうやって進める ?「onCreate」スクリプトのldapGroupsプロパティを変更できますか?

4

0 に答える 0