added terms of use

This commit is contained in:
Bachir Soussi Chiadmi 2023-03-21 10:45:41 +01:00
parent 6271185512
commit 3d19e78863
13 changed files with 182 additions and 1814 deletions

View File

@ -21,6 +21,7 @@
"drupal/amswap": "^3.1",
"drupal/audiofield": "1.x-dev@dev",
"drupal/base_field_override_ui": "^1.1",
"drupal/config_pages": "^2.14",
"drupal/core-composer-scaffold": "^9.4",
"drupal/core-project-message": "^9.4",
"drupal/core-recommended": "^9.4",
@ -35,6 +36,7 @@
"drupal/restui": "^1.21",
"drupal/role_delegation": "^1.2",
"drupal/structure_sync": "^2.0",
"drupal/terms_of_use": "^2.3",
"drupal/typed_data": "1.x-dev@dev",
"wikimedia/composer-merge-plugin": "^2.0"
},

170
src/composer.lock generated
View File

@ -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": "294c2d33a34b32eb96c471edf2e1eacd",
"content-hash": "3dfc5bbd00ebe09db9b540ed7e99469c",
"packages": [
{
"name": "alchemy/zippy",
@ -3350,6 +3350,67 @@
"irc": "irc://irc.freenode.org/drupal-contribute"
}
},
{
"name": "drupal/config_pages",
"version": "2.14.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/config_pages.git",
"reference": "8.x-2.14"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/config_pages-8.x-2.14.zip",
"reference": "8.x-2.14",
"shasum": "d1692f25d6dc77ae0686a186995739a895dec56c"
},
"require": {
"drupal/core": "^8.5 | ^9 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.14",
"datestamp": "1678878463",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
},
"drush": {
"services": {
"drush.services.yml": "^9"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "m.krestnicov",
"homepage": "https://www.drupal.org/user/3193903"
},
{
"name": "Qwaygon",
"homepage": "https://www.drupal.org/user/636624"
},
{
"name": "shumer",
"homepage": "https://www.drupal.org/user/2297432"
}
],
"description": "ConfigPages module",
"homepage": "http://drupal.org/project/config_pages",
"keywords": [
"Drupal"
],
"support": {
"source": "http://cgit.drupalcode.org/config_pages",
"issues": "http://drupal.org/project/issues/config_pages"
}
},
{
"name": "drupal/config_update",
"version": "1.7.0",
@ -4275,17 +4336,17 @@
},
{
"name": "drupal/ctools",
"version": "4.0.1",
"version": "3.13.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/ctools.git",
"reference": "4.0.1"
"reference": "8.x-3.13"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/ctools-4.0.1.zip",
"reference": "4.0.1",
"shasum": "ac2373c13efd7d95da7230bd5a6627f16a6a5b6e"
"url": "https://ftp.drupal.org/files/projects/ctools-8.x-3.13.zip",
"reference": "8.x-3.13",
"shasum": "b84176544265d4c6aa17917d66335527c9498c5a"
},
"require": {
"drupal/core": "^9.3 || ^10"
@ -4293,15 +4354,15 @@
"type": "drupal-module",
"extra": {
"drupal": {
"version": "4.0.1",
"datestamp": "1660252593",
"version": "8.x-3.13",
"datestamp": "1668631846",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
},
"branch-alias": {
"dev-4.x": "4.x-dev"
"dev-8.x-3.x": "3.x-dev"
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
@ -4335,9 +4396,8 @@
"role": "Maintainer"
},
{
"name": "Joël (joelpittet)",
"homepage": "https://www.drupal.org/u/joelpittet",
"role": "Maintainer"
"name": "joelpittet",
"homepage": "https://www.drupal.org/user/160302"
},
{
"name": "merlinofchaos",
@ -5995,26 +6055,26 @@
},
{
"name": "drupal/jquery_ui",
"version": "1.4.0",
"version": "1.6.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/jquery_ui.git",
"reference": "8.x-1.4"
"reference": "8.x-1.6"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/jquery_ui-8.x-1.4.zip",
"reference": "8.x-1.4",
"shasum": "64c19ecc8902e2b4b1ab0cc5f5fe28dbc83bfebe"
"url": "https://ftp.drupal.org/files/projects/jquery_ui-8.x-1.6.zip",
"reference": "8.x-1.6",
"shasum": "0ddccdcf35a066de1843e1d9670677ee1a2faac0"
},
"require": {
"drupal/core": "^8 || ^9"
"drupal/core": "^9.2 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.4",
"datestamp": "1582149957",
"version": "8.x-1.6",
"datestamp": "1668521197",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
@ -6026,10 +6086,6 @@
"GPL-2.0-or-later"
],
"authors": [
{
"name": "RobLoach",
"homepage": "https://www.drupal.org/user/61114"
},
{
"name": "bnjmnm",
"homepage": "https://www.drupal.org/user/2369194"
@ -6058,6 +6114,18 @@
"name": "mikelutz",
"homepage": "https://www.drupal.org/user/2972409"
},
{
"name": "nod_",
"homepage": "https://www.drupal.org/user/598310"
},
{
"name": "phenaproxima",
"homepage": "https://www.drupal.org/user/205645"
},
{
"name": "RobLoach",
"homepage": "https://www.drupal.org/user/61114"
},
{
"name": "sun",
"homepage": "https://www.drupal.org/user/54136"
@ -6066,6 +6134,10 @@
"name": "webchick",
"homepage": "https://www.drupal.org/user/24967"
},
{
"name": "Wim Leers",
"homepage": "https://www.drupal.org/user/99777"
},
{
"name": "zrpnr",
"homepage": "https://www.drupal.org/user/1448368"
@ -8241,6 +8313,56 @@
"issues": "https://www.drupal.org/project/issues/synonyms"
}
},
{
"name": "drupal/terms_of_use",
"version": "2.3.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/terms_of_use.git",
"reference": "8.x-2.3"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/terms_of_use-8.x-2.3.zip",
"reference": "8.x-2.3",
"shasum": "7a6a7caa727173816a55a67fa4449a7be6cf0f29"
},
"require": {
"drupal/core": "^8 || ^9 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.3",
"datestamp": "1659789069",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "Andrei Ivnitskii",
"homepage": "https://www.drupal.org/u/ivnish",
"role": "Maintainer"
},
{
"name": "ivnish",
"homepage": "https://www.drupal.org/user/3547706"
}
],
"description": "Adds terms of Use to the registration page.",
"homepage": "https://www.drupal.org/project/terms_of_use",
"support": {
"source": "https://git.drupalcode.org/project/terms_of_use",
"issues": "https://www.drupal.org/project/issues/terms_of_use"
}
},
{
"name": "drupal/token",
"version": "1.11.0",

View File

@ -2,7 +2,6 @@ _core:
default_config_hash: UiTY9bhUKWJOIWDlOKM3akeeyHuJJRspXETsv3SY6jw
langcode: fr
roles:
admin: perm
user: unsafe
group_admin: perm
group_member: perm

View File

@ -3,6 +3,8 @@ langcode: fr
status: true
dependencies:
module:
- context
- system
- user
theme:
- adminimal_theme
@ -19,4 +21,27 @@ settings:
label: 'Connexion utilisateur'
label_display: visible
provider: user
visibility: { }
visibility:
user_status:
id: user_status
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
user_status:
viewing_profile: '0'
logged_viewing_profile: '0'
own_page_true: '0'
field_value: '0'
user_fields: uid
context_all:
id: context_all
negate: null
values: ''
context:
id: context
negate: null
values: ''
request_path:
id: request_path
negate: false
pages: '<front>'

View File

@ -76,6 +76,7 @@ module:
jquery_ui_touch_punch: 0
jsonapi: 0
language: 0
layout_discovery: 0
link: 0
link_attributes: 0
linkit: 0
@ -114,6 +115,7 @@ module:
system: 0
taxonomy: 0
telephone: 0
terms_of_use: 0
text: 0
token: 0
toolbar: 0

View File

@ -1,14 +0,0 @@
uuid: a85c3603-875e-44af-bec9-a51a5d9bdca2
langcode: fr
status: true
dependencies:
config:
- user.role.admin
module:
- user
id: user_add_role_action.admin
label: 'Add the Admin role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: admin

View File

@ -1,14 +0,0 @@
uuid: c3841499-a5a9-4b49-b4f9-53b3bd114a45
langcode: fr
status: true
dependencies:
config:
- user.role.admin
module:
- user
id: user_remove_role_action.admin
label: 'Remove the Admin role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: admin

View File

@ -8,7 +8,7 @@ slogan: 'Soutiller collectivement, se préparer pour atterrir autrement, et s
page:
403: ''
404: ''
front: /
front: /user/register
admin_compact_mode: false
weight_select_max: 100
default_langcode: fr

View File

@ -0,0 +1,5 @@
terms_of_use_node: '19'
terms_of_use_label_name: cgu
terms_of_use_label_checkbox: 'j''ai lu et j''accepte les @link'
terms_of_use_open_link_in_new_window: '1'
terms_of_use_collapsed: 0

View File

@ -1,145 +0,0 @@
uuid: 605c3813-2b50-4b6b-bc42-42670919ef25
langcode: fr
status: true
dependencies:
config:
- filter.format.wysiwyg
- node.type.concernement
- node.type.entite
- node.type.static
module:
- actions_permissions
- administerusersbyrole
- content_translation
- file
- filter
- group
- node
- regcode
- role_delegation
- system
- toolbar
_core:
default_config_hash: oPv8PkAuHYeKKe1c48A3-O9VsF3Nl1XBsMKrgqxo8vs
id: admin
label: Admin
weight: -7
is_admin: null
permissions:
- 'access administration pages'
- 'access any corpus_documents workflow_transion overview'
- 'access any generique workflow_transion overview'
- 'access files overview'
- 'access kint'
- 'access toolbar'
- 'access user profiles'
- 'access users overview'
- 'administer productions menu items'
- 'administer registration codes'
- 'assign group_admin role'
- 'assign group_member role'
- 'cancel users with role group_admin'
- 'cancel users with role group_member'
- 'change own username'
- 'create bourgeon group'
- 'create concernement content'
- 'create content translations'
- 'create corpus_documents workflow_transition'
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create enregistrement content'
- 'create entite content'
- 'create evenement content'
- 'create generique workflow_transition'
- 'create page content'
- 'create static content'
- 'create terms in collectionneurs'
- 'create terms in entrees'
- 'create terms in genres'
- 'create terms in langues'
- 'create terms in locuteurs'
- 'create users'
- 'delete any autre_son content'
- 'delete any enregistrement content'
- 'delete any evenement content'
- 'delete any fil content'
- 'delete any page content'
- 'delete concernement revisions'
- 'delete entite revisions'
- 'delete own concernement content'
- 'delete own entite content'
- 'delete own static content'
- 'delete static revisions'
- 'delete terms in collectionneurs'
- 'delete terms in entrees'
- 'delete terms in genres'
- 'delete terms in langues'
- 'delete terms in locuteurs'
- 'edit any autre_son content'
- 'edit any concernement content'
- 'edit any enregistrement content'
- 'edit any entite content'
- 'edit any evenement content'
- 'edit any page content'
- 'edit any static content'
- 'edit own enregistrement content'
- 'edit terms in collectionneurs'
- 'edit terms in entrees'
- 'edit terms in genres'
- 'edit terms in langues'
- 'edit terms in locuteurs'
- 'edit users by role'
- 'edit users with role group_admin'
- 'edit users with role group_member'
- 'execute entity:save_action menu_link_content'
- 'execute entity:save_action node'
- 'execute entity:save_action taxonomy_term'
- 'execute entity:save_action user'
- 'execute node_assign_owner_action node'
- 'execute node_promote_action node'
- 'execute node_save_action node'
- 'execute node_unpromote_action node'
- 'execute user_add_role_action user'
- 'execute user_block_user_action user'
- 'execute user_remove_role_action user'
- 'execute user_unblock_user_action user'
- 'execute vbo_cancel_user_action user'
- 'execute views_bulk_edit all'
- 'execute workflow_node_given_state_action node'
- 'execute workflow_node_next_state_action node'
- 'revert any corpus_documents workflow_transition'
- 'revert any generique workflow_transition'
- 'revert autre_son revisions'
- 'revert concernement revisions'
- 'revert enregistrement revisions'
- 'revert entite revisions'
- 'revert evenement revisions'
- 'revert page revisions'
- 'revert static revisions'
- 'role-assign users with role group_admin'
- 'role-assign users with role group_member'
- 'schedule corpus_documents workflow_transition'
- 'schedule generique workflow_transition'
- 'translate enregistrement node'
- 'translate entrees taxonomy_term'
- 'translate evenement node'
- 'translate genres taxonomy_term'
- 'translate langues taxonomy_term'
- 'translate menu_link_content'
- 'translate page node'
- 'translate static node'
- 'update content translations'
- 'use text format wysiwyg'
- 'view autre_son revisions'
- 'view concernement revisions'
- 'view enregistrement revisions'
- 'view entite revisions'
- 'view evenement revisions'
- 'view own unpublished content'
- 'view page revisions'
- 'view static revisions'
- 'view the administration theme'
- 'view user email addresses'
- 'view users by role'
- 'view users with role group_admin'
- 'view users with role group_member'

View File

@ -1,33 +0,0 @@
uuid: b02cf7b2-9f2e-4176-a89b-5003153c1fd1
langcode: fr
status: true
dependencies:
config:
- filter.format.wysiwyg
module:
- devel
- filter
- graphql
- group
- system
_core:
default_config_hash: g0EHI5W4j_ZUCTvSQWEDEKVvC0g1Glt4YWZt_ihyvog
id: anonymous
label: 'Anonymous user'
weight: -10
is_admin: false
permissions:
- 'access content'
- 'access devel information'
- 'access group overview'
- 'access kint'
- 'access synonyms entity autocomplete'
- 'create corpus_documents workflow_transition'
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create generique workflow_transition'
- 'execute ouatterrir arbitrary graphql requests'
- 'execute ouatterrir persisted graphql requests'
- 'use text format wysiwyg'
- 'view published fil entities'
- 'view search api pages'

View File

@ -1,46 +0,0 @@
uuid: e4a62f6c-04b9-405a-b124-d88c3917fe39
langcode: fr
status: true
dependencies:
config:
- filter.format.wysiwyg
module:
- devel
- filter
- graphql
- group
- system
_core:
default_config_hash: NlAJ1uthbRfNcM-M7UCYixmpTNgZnkuQKQymrXPv7UY
id: authenticated
label: 'Authenticated user'
weight: -9
is_admin: false
permissions:
- 'access content'
- 'access devel information'
- 'access group overview'
- 'access kint'
- 'access synonyms entity autocomplete'
- 'add composition entities'
- 'add fil entities'
- 'create corpus_documents workflow_transition'
- 'create defalut workflow_transition'
- 'create default workflow_transition'
- 'create generique workflow_transition'
- 'delete own composition entities'
- 'delete own fil entities'
- 'edit own chutier entities'
- 'edit own composition entities'
- 'edit own fil entities'
- 'execute ouatterrir arbitrary graphql requests'
- 'execute ouatterrir persisted graphql requests'
- 'opt-in or out of matomo tracking'
- 'use chutier'
- 'use text format wysiwyg'
- 'view own unpublished chutier entities'
- 'view own unpublished composition entities'
- 'view own unpublished fil entities'
- 'view published composition entities'
- 'view published fil entities'
- 'view search api pages'

File diff suppressed because it is too large Load Diff