diff --git a/composer.json b/composer.json index ba03489..d589064 100644 --- a/composer.json +++ b/composer.json @@ -38,6 +38,7 @@ "drupal/password_strength": "^2.0@beta", "drupal/restui": "^1.20", "drupal/route_condition": "^2.0", + "drupal/rules": "^3.0@alpha", "drupal/security_review": "*", "drupal/typed_data": "^1.0@alpha", "drupal/views_aggregator": "^1.0@beta", diff --git a/composer.lock b/composer.lock index 8aade41..4c92a12 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "858fa60a701d4684082dacf718470955", + "content-hash": "e691b686a7acca2020ff94eaa520a97e", "packages": [ { "name": "asm89/stack-cors", @@ -2980,6 +2980,59 @@ "source": "https://git.drupalcode.org/project/route_condition" } }, + { + "name": "drupal/rules", + "version": "3.0.0-alpha5", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/rules.git", + "reference": "8.x-3.0-alpha5" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/rules-8.x-3.0-alpha5.zip", + "reference": "8.x-3.0-alpha5", + "shasum": "7c88959b047986783aa9d4afc992093df08ce0ee" + }, + "require": { + "drupal/core": "~8.0", + "drupal/typed_data": "*" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-3.0-alpha5", + "datestamp": "1566193991", + "security-coverage": { + "status": "not-covered", + "message": "Alpha releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "TR", + "homepage": "https://www.drupal.org/user/202830" + }, + { + "name": "fago", + "homepage": "https://www.drupal.org/user/16747" + }, + { + "name": "klausi", + "homepage": "https://www.drupal.org/user/262198" + } + ], + "description": "React on events and conditionally evaluate actions.", + "homepage": "https://www.drupal.org/project/rules", + "support": { + "source": "https://git.drupalcode.org/project/rules" + } + }, { "name": "drupal/search_api", "version": "1.20.0", @@ -7830,6 +7883,7 @@ "drupal/business_rules": 10, "drupal/entity_extra_field": 15, "drupal/password_strength": 10, + "drupal/rules": 15, "drupal/typed_data": 15, "drupal/views_aggregator": 10 }, diff --git a/config/field.storage.oc_organisation.field_client_type.yml b/config/field.storage.oc_organisation.field_client_type.yml index a108b9f..a5f14df 100644 --- a/config/field.storage.oc_organisation.field_client_type.yml +++ b/config/field.storage.oc_organisation.field_client_type.yml @@ -3,8 +3,12 @@ langcode: en status: true dependencies: module: + - field_permissions - opencase_entities - taxonomy +third_party_settings: + field_permissions: + permission_type: public _core: default_config_hash: 9r53T-UXqyvscL16KdyCRiYhdTzkIhA10Fg51kbozeQ id: oc_organisation.field_client_type diff --git a/config/rest.resource.entity.taxonomy_term.yml b/config/rest.resource.entity.taxonomy_term.yml new file mode 100644 index 0000000..08d499a --- /dev/null +++ b/config/rest.resource.entity.taxonomy_term.yml @@ -0,0 +1,24 @@ +uuid: 8e3fcade-e335-4a5b-80e9-8679b882814e +langcode: en +status: true +dependencies: + module: + - hal + - serialization + - taxonomy + - user +id: entity.taxonomy_term +plugin_id: 'entity:taxonomy_term' +granularity: resource +configuration: + methods: + - GET + - POST + - DELETE + - PATCH + formats: + - hal_json + - json + - xml + authentication: + - cookie