# SAML Kullanıcı Hakları: Özel Öznitelikler (Gelişmiş)

> Bunlar, kullanıcı haklarını ayarlamanın gelişmiş yoludur. [SAML Access Profiles](https://help.aikido.dev/docs/docs-tr/getting-started/automated-user-management/saml-login/saml-user-rights-access-profiles-recommended.md) kullanmanızı öneririz
>
> [https://help.aikido.dev/doc/saml-user-rights-access-profiles-recommended/docVaVb0VPy1](https://help.aikido.dev/docs/docs-tr/getting-started/automated-user-management/saml-login/saml-user-rights-access-profiles-recommended.md)

Bu kılavuz, SAML özel özniteliklerini kullanarak Aikido içinde kullanıcı haklarının nasıl yapılandırılacağı ve yönetileceği hakkında ayrıntılı talimatlar sağlar. `aikido_role`, `aikido_data_edit_rights`, `aikido_can_ignore`, `aikido_can_snooze`, `aikido_can_change_severity`, `aikido_can_manage_teams` ve `aikido_teams` gibi öznitelikleri kullanarak kullanıcı izinlerini ve rollerini kimlik sağlayıcınızın içinden kontrol edebilirsiniz. Bu yaklaşım, kullanıcıların Aikido'da kimlik sağlayıcınızda ayarlandığı şekilde aynı erişime sahip olmasını sağlar.

- **aikido_access_profile:** [**Daha fazla bilgi**](https://help.aikido.dev/docs/docs-tr/getting-started/automated-user-management/saml-login/saml-user-rights-access-profiles-recommended.md)
  SAML Access Profiles ayarlarken kullanılacak claim budur.

  ```xml
  <saml:Attribute Name="aikido_access_profile">
      <saml:AttributeValue xsi:type="xs:anyType">My Access Profile</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_username:** Kullanıcının Aikido'daki adını tanımlayabilirsiniz

  ```xml
  <saml:Attribute Name="aikido_username">
      <saml:AttributeValue xsi:type="xs:anyType">John Doe</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_role:** `admin`, `default`, `team_only`

  ```xml
  <saml:Attribute Name="aikido_role">
      <saml:AttributeValue xsi:type="xs:anyType">default</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_data_edit_rights:** `standard`, `read_only`

  ```xml
  <saml:Attribute Name="aikido_data_edit_rights">
      <saml:AttributeValue xsi:type="xs:anyType">standard</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_ignore:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_ignore">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_snooze:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_snooze">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_change_severity:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_change_severity">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_manage_teams:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_manage_teams">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_export_data:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_export_data">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_manage_clouds:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_manage_clouds">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_manage_containers:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_manage_containers">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_manage_domains:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_manage_domains">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_manage_pentests:** `true`, `false`

  ```xml
  <saml:Attribute Name="aikido_can_manage_pentests">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_manage_code_quality:** `true`, `false`

  ```
  <saml:Attribute Name="aikido_can_manage_code_quality">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_can_manage_repos:** `true`, `false`

  ```
  <saml:Attribute Name="aikido_can_manage_repos">
      <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_teams:** Kullanıcının dahil olduğu farklı ekipleri burada tanımlayabilirsiniz. Ekip(ler) Aikido'da mevcut değilse oluşturulur. Kullanıcı bu ekiplere otomatik olarak katılır. Bu ayarlanırsa kullanıcı diğer tüm ekiplerden çıkarılır.

  ```xml
  <saml:Attribute Name="aikido_teams">
      <saml:AttributeValue xsi:type="xs:anyType">team1</saml:AttributeValue>
      <saml:AttributeValue xsi:type="xs:anyType">team2</saml:AttributeValue>
  </saml:Attribute>
  ```

- **aikido_workspace_ids:** Kullanıcının dahil olduğu farklı Aikido çalışma alanlarını burada tanımlayabilirsiniz. Kullanıcı bu çalışma alanlarına otomatik olarak katılır. Bu alan ayarlanırsa kullanıcı diğer tüm çalışma alanlarından çıkarılır.

  ```xml
  <saml:Attribute Name="aikido_workspace_ids">
      <saml:AttributeValue xsi:type="xs:anyType">1233</saml:AttributeValue>
      <saml:AttributeValue xsi:type="xs:anyType">2511</saml:AttributeValue>
  </saml:Attribute>
  ```

- **github_samlidentity_nameid:** (GitHub.com) GitHub'ın o kullanıcı için sakladığı NameID; genellikle kullanıcının e-posta adresidir. Aikido bunu iki yerde kullanır: GitHub ekip senkronizasyonu ve **Can ignore issues** izninin geçerli olması için bir SAML kullanıcısını pull request'e yorum yapan GitHub hesabıyla eşleştirme. Ekip senkronizasyonu ve bu eşleştirme yalnızca kişi GitHub'a da SAML ile oturum açtığında çalışır. Claim'i ekledikten sonra kişinin Aikido'ya bir kez SAML ile oturum açması gerekir. Bkz. [Pull request'teki bir bulguyu kimler yok sayabilir](https://help.aikido.dev/docs/docs-tr/pr-and-release-gating/aikido-ci-gating-functionality.md#who-can-ignore-a-finding-on-a-pull-request).

  ```xml
  <saml:Attribute Name="github_samlidentity_nameid">
      <saml:AttributeValue xsi:type="xs:anyType">example@email.com</saml:AttributeValue>
  </saml:Attribute>
  ```

- **github_user_slug:** (GitHub.com) GitHub kullanıcı adı, örneğin `johndoe`. Aikido bunu pull request yorumunu yazan hesapla eşleştirir ve GitHub ekip senkronizasyonu için kullanır. Hem bu claim hem de `github_samlidentity_nameid` saklandığında Aikido önce `github_user_slug` değerini kullanır. Claim'i ekledikten sonra kişinin Aikido'ya bir kez SAML ile oturum açması gerekir.

  ```xml
  <saml:Attribute Name="github_user_slug">
      <saml:AttributeValue xsi:type="xs:anyType">johndoe</saml:AttributeValue>
  </saml:Attribute>
  ```
