Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Request membership for cluster #670

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"drupal/flexible_permissions": "^1.0@beta",
"drupal/geofield": "^1.36",
"drupal/google_tag": "^1.4",
"drupal/grequest": "^2.2",
"drupal/group": "^2.0.0-rc1",
"drupal/inline_entity_form": "^1.0@RC",
"drupal/jquery_ui_dialog": "^2.0",
Expand Down Expand Up @@ -225,6 +226,7 @@
"drupal/coder": "^8.3",
"drupal/config_inspector": "^2.1",
"drupal/core-dev": "^10.0",
"drupal/dev_mode": "^2.6",
"drupal/devel_php": "^1.5",
"marcocesarato/php-conventional-changelog": "^1.16",
"mglaman/drupal-check": "^1.4",
Expand Down
197 changes: 196 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: e5df3cb7-b2e8-4b52-a77a-37c5f41459d1
langcode: en
status: true
dependencies:
config:
- field.field.group_content.cluster-group_membership_request.grequest_status
- field.field.group_content.cluster-group_membership_request.grequest_updated_by
- group.content_type.cluster-group_membership_request
module:
- options
id: group_content.cluster-group_membership_request.default
targetEntityType: group_content
bundle: cluster-group_membership_request
mode: default
content:
grequest_status:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: -4
region: content
grequest_updated_by:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: -3
region: content
hidden:
entity_id: true
langcode: true
uid: true
2 changes: 2 additions & 0 deletions config/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module:
geofield: 0
gnode: 0
google_tag: 0
grequest: 0
group: 0
help: 0
hr_analytics: 0
Expand Down Expand Up @@ -85,6 +86,7 @@ module:
social_api: 0
social_auth: 0
social_auth_hid: 0
state_machine: 0
subgroup: 0
syslog: 0
system: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: d1844c45-1ca3-4cce-8c3c-e2bed6dce2fc
langcode: en
status: true
dependencies:
config:
- field.storage.group_content.grequest_status
- group.content_type.cluster-group_membership_request
module:
- state_machine
id: group_content.cluster-group_membership_request.grequest_status
field_name: grequest_status
entity_type: group_content
bundle: cluster-group_membership_request
label: 'Request status'
description: ''
required: true
translatable: true
default_value: { }
default_value_callback: ''
settings:
workflow: request
workflow_callback: ''
field_type: state
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: 2d881343-fd5e-4494-8e0e-8a9b7d96efc4
langcode: en
status: true
dependencies:
config:
- field.storage.group_content.grequest_updated_by
- group.content_type.cluster-group_membership_request
id: group_content.cluster-group_membership_request.grequest_updated_by
field_name: grequest_updated_by
entity_type: group_content
bundle: cluster-group_membership_request
label: 'Approved/Rejected by'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
handler: 'default:user'
handler_settings: { }
field_type: entity_reference
26 changes: 26 additions & 0 deletions config/field.storage.group_content.grequest_status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
uuid: ef60a0c9-a639-4581-acf7-87bcb5d405b6
langcode: en
status: true
dependencies:
module:
- group
- state_machine
enforced:
module:
- group
- state_machine
- grequest
_core:
default_config_hash: 65e3PHhrj14OoPpoYKcXjtCRjFWcryzFONV0cL71rCE
id: group_content.grequest_status
field_name: grequest_status
entity_type: group_content
type: state
settings: { }
module: state_machine
locked: false
cardinality: 1
translatable: false
indexes: { }
persist_with_no_fields: true
custom_storage: false
26 changes: 26 additions & 0 deletions config/field.storage.group_content.grequest_updated_by.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
uuid: 3ceae108-c8ee-4101-aa97-54faa930b012
langcode: en
status: true
dependencies:
module:
- group
- user
enforced:
module:
- group
- grequest
_core:
default_config_hash: YxjnN0DlwW1fjlUbX-8e9M-J23J6wBqdhgm1gbrbHcE
id: group_content.grequest_updated_by
field_name: grequest_updated_by
entity_type: group_content
type: entity_reference
settings:
target_type: user
module: core
locked: true
cardinality: 1
translatable: false
indexes: { }
persist_with_no_fields: true
custom_storage: false
Loading