Unsupported permissions in member_role
Not all permissions can be defined through the provider in the gitlab_member_role resource.
It was assigned to a custom role, the base role of Developer, and the following permissions cannot be configured.
Note
Also validated in registry.terraform.io/gitlabhq/gitlab 19.0.0
- Duo Agent Platform
- Manage AI catalog items (
ADMIN_AI_CATALOG_ITEM) - Configure AI catalog items (
ADMIN_AI_CATALOG_ITEM_CONSUMER)
- Manage AI catalog items (
- Security asset inventories
- Manage security attributes (
ADMIN_SECURITY_ATTRIBUTES)
- Manage security attributes (
- Other
- Apply security scan profiles (
APPLY_SECURITY_SCAN_PROFILES) - Update SAST Vulnerability Resolution setting (
UPDATE_SAST_VULNERABILITY_RESOLUTION_SETTING)
- Apply security scan profiles (
Implementation Guide
- Follow the
CONTRIBUTING.mdguide for setting up your local development environment. - Clone the community fork of this project.
- In
internal/provider/resource_gitlab_member_role.go, update the sliceallowedEnabledPermissionsto include any missing permissions from https://docs.gitlab.com/user/custom_roles/abilities/. - Update or add a test case to
internal/provider/resource_gitlab_member_role_test.goto use the added permissions.
Edited by 🤖 GitLab Bot 🤖