Add support for "Disable public access to Pages sites" and "Inactive project and group access token retention period" settings
## Summary
Two GitLab application settings are not currently available in the Terraform provider:
1. **Disable public access to Pages sites**
- Location: `application_settings/preferences`
- UI Path: Admin Area → Settings → Preferences → Pages
- Setting: "Disable public access to Pages sites"
2. **Inactive project and group access token retention period**
- Location: `application_settings/general`
- UI Path: Admin Area → Settings → General → (Account and limit section)
- Setting: "Inactive project and group access token retention period"
## Proposal
Add support for these settings in the `gitlab_application_settings` resource (or create appropriate resources if they don't fit the existing structure).
### Suggested Terraform attributes:
```hcl
resource "gitlab_application_settings" "example" {
# ... other settings ...
# Pages setting
pages_domain_verification_enabled = true # existing
disable_public_access_to_pages = true # NEW
# Access token retention
inactive_project_access_token_retention_period = 90 # NEW (in days)
}
```
## Use Case
These settings are important for security and compliance configurations in enterprise GitLab instances and should be manageable through Infrastructure as Code.
## Related Documentation
- [GitLab Pages settings](https://docs.gitlab.com/ee/administration/pages/)
- [Access token settings](https://docs.gitlab.com/ee/security/token_overview.html)
cc @FrancoisHugot
## Implementation Guide
- Follow the `CONTRIBUTING.md` guide for setting up your local development environment.
- Clone the community fork of this project.
- Add a new attribute `inactive_project_access_token_retention_period` to resource `gitlab_application_settings`.
- Update acceptance test to set the value
issue