diff --git a/CHANGELOG.md b/CHANGELOG.md index dcca77d52..7c8603c09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +# 2.7.0 2024-12-16 + +## Breaking changes ⚠ + +- drop support for docker compose v1 +- SurveyValidator form utils import switched from `from service_catalog.forms import SurveyValidator` to `from service_catalog.forms.form_utils import SurveyValidator` + +## Fix + +- Credential id set in operation was not sent to AWX + +## Enhancement + +- Add support of multiple workers to gunicorn to speedup Squest + +## Feature + +- Add permission on operation, service and portfolio + # 2.6.1 2024-11-15 ## Fix diff --git a/Squest/version.py b/Squest/version.py index 16aa1733b..ad9c4e38b 100644 --- a/Squest/version.py +++ b/Squest/version.py @@ -1,2 +1,2 @@ -__version__ = "2.7.0b" +__version__ = "2.7.0" VERSION = __version__ diff --git a/docs/manual/service_catalog/operation.md b/docs/manual/service_catalog/operation.md index 1f9a830ae..ace1fc54d 100644 --- a/docs/manual/service_catalog/operation.md +++ b/docs/manual/service_catalog/operation.md @@ -28,6 +28,7 @@ Operations of type "update" or "delete" can be then added to manage the lifecycl | Default diff mode | Default `False`. This is equivalent to Ansible's --diff mode in the CLI | | Default credential IDs | Comma separated list of credentials ID | | When | Ansible 'when' condition to make operation available to some instance spec condition | +| Permission | Set a permission required to view the operation. By default set to "view_operation" | ## Job template config diff --git a/pyproject.toml b/pyproject.toml index 836797f33..cc0c5c24e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "squest" -version = "2.7.0b" +version = "2.7.0" description = "Service catalog on top of Red Hat Ansible Automation Platform(RHAAP)/AWX (formerly known as Ansible Tower)" authors = ["Nicolas Marcq ", "Elias Boulharts "] license = "MIT" diff --git a/service_catalog/forms/operation_forms.py b/service_catalog/forms/operation_forms.py index 3543b17d5..456b4dbd6 100644 --- a/service_catalog/forms/operation_forms.py +++ b/service_catalog/forms/operation_forms.py @@ -15,7 +15,8 @@ class OperationForm(SquestModelForm): permission = ModelChoiceField(queryset=Permission.objects.filter(content_type__model="operation", content_type__app_label="service_catalog"), - initial=FormUtils.get_default_permission_for_operation) + initial=FormUtils.get_default_permission_for_operation, + help_text=Operation.permission.field.help_text) class Meta: model = Operation