-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from davidferlay/testeruser
Adding Tester default user and updated permissions of contributor role
- Loading branch information
Showing
20 changed files
with
949 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,9 @@ THEME_NAME=NA | |
SITE_NAME=Example | ||
[email protected] | ||
ADMIN_NAME=admin | ||
ADMIN_PW=admin | ||
[email protected] | ||
ADMIN_PW=admin | ||
TESTER_PW=tester | ||
PROJECT_INSTALL= | ||
IMAGE_PHP=skilldlabs/php:73-fpm | ||
IMAGE_NGINX=skilldlabs/nginx:1.16 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
], | ||
"name": [ | ||
{ | ||
"value": "default_content_author" | ||
"value": "Default content author" | ||
} | ||
], | ||
"mail": [ | ||
|
156 changes: 156 additions & 0 deletions
156
...les/custom/project_default_content/content/user/96a20336-595d-4d97-8e1f-3e70db0101bd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
{ | ||
"_links": { | ||
"self": { | ||
"href": "http:\/\/default\/user\/20?_format=hal_json" | ||
}, | ||
"type": { | ||
"href": "http:\/\/drupal.org\/rest\/type\/user\/user" | ||
}, | ||
"http:\/\/drupal.org\/rest\/relation\/user\/user\/content_translation_uid": [ | ||
{ | ||
"href": "http:\/\/default\/en\/user\/2?_format=hal_json", | ||
"lang": "en" | ||
} | ||
] | ||
}, | ||
"uid": [ | ||
{ | ||
"value": 10 | ||
} | ||
], | ||
"uuid": [ | ||
{ | ||
"value": "96a20336-595d-4d97-8e1f-3e70db0101bd" | ||
} | ||
], | ||
"langcode": [ | ||
{ | ||
"value": "en", | ||
"lang": "en" | ||
} | ||
], | ||
"preferred_langcode": [ | ||
{ | ||
"value": "en" | ||
} | ||
], | ||
"preferred_admin_langcode": [ | ||
{ | ||
"value": "en" | ||
} | ||
], | ||
"name": [ | ||
{ | ||
"value": "Tester" | ||
} | ||
], | ||
"mail": [ | ||
{ | ||
"value": "" | ||
} | ||
], | ||
"timezone": [ | ||
{ | ||
"value": "Europe\/Paris" | ||
} | ||
], | ||
"status": [ | ||
{ | ||
"value": true | ||
} | ||
], | ||
"created": [ | ||
{ | ||
"value": "2020-02-28T09:55:31+00:00", | ||
"format": "Y-m-d\\TH:i:sP" | ||
} | ||
], | ||
"changed": [ | ||
{ | ||
"value": "2020-02-28T09:55:44+00:00", | ||
"lang": "en", | ||
"format": "Y-m-d\\TH:i:sP" | ||
} | ||
], | ||
"access": [ | ||
{ | ||
"value": "1970-01-01T00:00:00+00:00", | ||
"format": "Y-m-d\\TH:i:sP" | ||
} | ||
], | ||
"login": [ | ||
{ | ||
"value": "1970-01-01T00:00:00+00:00", | ||
"format": "Y-m-d\\TH:i:sP" | ||
} | ||
], | ||
"init": [ | ||
{ | ||
"value": "" | ||
} | ||
], | ||
"roles": [ | ||
{ | ||
"target_id": "contributor" | ||
} | ||
], | ||
"default_langcode": [ | ||
{ | ||
"value": true, | ||
"lang": "en" | ||
} | ||
], | ||
"path": [ | ||
{ | ||
"alias": null, | ||
"pid": null, | ||
"langcode": "en", | ||
"lang": "en" | ||
} | ||
], | ||
"content_translation_source": [ | ||
{ | ||
"value": "und", | ||
"lang": "en" | ||
} | ||
], | ||
"content_translation_outdated": [ | ||
{ | ||
"value": false, | ||
"lang": "en" | ||
} | ||
], | ||
"_embedded": { | ||
"http:\/\/drupal.org\/rest\/relation\/user\/user\/content_translation_uid": [ | ||
{ | ||
"_links": { | ||
"self": { | ||
"href": "http:\/\/default\/en\/user\/2?_format=hal_json" | ||
}, | ||
"type": { | ||
"href": "http:\/\/drupal.org\/rest\/type\/user\/user" | ||
} | ||
}, | ||
"uuid": [ | ||
{ | ||
"value": "4bad48eb-ff5b-45b4-b30c-ecabff09591a" | ||
} | ||
], | ||
"lang": "en" | ||
} | ||
] | ||
}, | ||
"content_translation_status": [ | ||
{ | ||
"value": true, | ||
"lang": "en" | ||
} | ||
], | ||
"content_translation_created": [ | ||
{ | ||
"value": "2020-02-28T09:55:31+00:00", | ||
"lang": "en", | ||
"format": "Y-m-d\\TH:i:sP" | ||
} | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
web/profiles/sdd/config/install/block_content.type.site_template_block.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
langcode: en | ||
status: true | ||
dependencies: { } | ||
id: site_template_block | ||
label: 'Site template block' | ||
revision: 1 | ||
description: 'Block allowing to fill the site template with content' |
74 changes: 74 additions & 0 deletions
74
...sdd/config/install/core.entity_form_display.block_content.site_template_block.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- block_content.type.site_template_block | ||
- field.field.block_content.site_template_block.link | ||
- field.field.block_content.site_template_block.media | ||
- field.field.block_content.site_template_block.position | ||
- field.field.block_content.site_template_block.title | ||
module: | ||
- field_layout | ||
- layout_discovery | ||
- link | ||
- media_library | ||
third_party_settings: | ||
field_layout: | ||
id: layout_onecol | ||
settings: | ||
label: '' | ||
id: block_content.site_template_block.default | ||
targetEntityType: block_content | ||
bundle: site_template_block | ||
mode: default | ||
content: | ||
info: | ||
type: string_textfield | ||
weight: 0 | ||
region: content | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
langcode: | ||
type: language_select | ||
weight: 1 | ||
region: content | ||
settings: | ||
include_locked: true | ||
third_party_settings: { } | ||
link: | ||
weight: 5 | ||
settings: | ||
placeholder_url: '' | ||
placeholder_title: '' | ||
third_party_settings: { } | ||
type: link_default | ||
region: content | ||
media: | ||
type: media_library_widget | ||
weight: 4 | ||
settings: | ||
media_types: { } | ||
third_party_settings: { } | ||
region: content | ||
position: | ||
weight: 6 | ||
settings: { } | ||
third_party_settings: { } | ||
type: options_select | ||
region: content | ||
title: | ||
weight: 3 | ||
settings: | ||
size: 60 | ||
placeholder: '' | ||
third_party_settings: { } | ||
type: string_textfield | ||
region: content | ||
translation: | ||
weight: 2 | ||
region: content | ||
settings: { } | ||
third_party_settings: { } | ||
hidden: { } |
56 changes: 56 additions & 0 deletions
56
...sdd/config/install/core.entity_view_display.block_content.site_template_block.default.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- block_content.type.site_template_block | ||
- field.field.block_content.site_template_block.link | ||
- field.field.block_content.site_template_block.media | ||
- field.field.block_content.site_template_block.position | ||
- field.field.block_content.site_template_block.title | ||
module: | ||
- field_layout | ||
- layout_discovery | ||
- link | ||
third_party_settings: | ||
field_layout: | ||
id: layout_onecol | ||
settings: | ||
label: '' | ||
id: block_content.site_template_block.default | ||
targetEntityType: block_content | ||
bundle: site_template_block | ||
mode: default | ||
content: | ||
link: | ||
weight: 2 | ||
label: hidden | ||
settings: | ||
trim_length: 80 | ||
url_only: false | ||
url_plain: false | ||
rel: '' | ||
target: '' | ||
third_party_settings: { } | ||
type: link | ||
region: content | ||
media: | ||
type: entity_reference_entity_view | ||
weight: 1 | ||
label: hidden | ||
settings: | ||
view_mode: full | ||
link: false | ||
third_party_settings: { } | ||
region: content | ||
title: | ||
weight: 0 | ||
label: hidden | ||
settings: | ||
link_to_entity: false | ||
third_party_settings: { } | ||
type: string | ||
region: content | ||
hidden: | ||
langcode: true | ||
position: true | ||
search_api_excerpt: true |
22 changes: 22 additions & 0 deletions
22
web/profiles/sdd/config/install/field.field.block_content.site_template_block.link.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- block_content.type.site_template_block | ||
- field.storage.block_content.link | ||
module: | ||
- link | ||
id: block_content.site_template_block.link | ||
field_name: link | ||
entity_type: block_content | ||
bundle: site_template_block | ||
label: Link | ||
description: 'Action link the user is called to click' | ||
required: false | ||
translatable: true | ||
default_value: { } | ||
default_value_callback: '' | ||
settings: | ||
link_type: 17 | ||
title: 1 | ||
field_type: link |
Oops, something went wrong.