Compare commits

..

No commits in common. "64c5b7af6db7a524f3e4b26873bea3e59d30ac85" and "1ffd995f0b7471bf256a0794fdca25fa5d8ec9f0" have entirely different histories.

7 changed files with 64 additions and 218 deletions

View File

@ -26,7 +26,6 @@
"drupal/core-composer-scaffold": "^9", "drupal/core-composer-scaffold": "^9",
"drupal/core-project-message": "^9", "drupal/core-project-message": "^9",
"drupal/core-recommended": "^9", "drupal/core-recommended": "^9",
"drupal/entity_limit": "^2.0@alpha",
"drupal/flexible_permissions": "@beta", "drupal/flexible_permissions": "@beta",
"drupal/genpass": "^1.1", "drupal/genpass": "^1.1",
"drupal/graphql": "4.x-dev@dev", "drupal/graphql": "4.x-dev@dev",

148
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", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "f874a1a846eacffa0d31c1312d5e160a", "content-hash": "f3baae79e847c753ab9ac766f4338529",
"packages": [ "packages": [
{ {
"name": "alchemy/zippy", "name": "alchemy/zippy",
@ -3937,16 +3937,16 @@
}, },
{ {
"name": "drupal/core", "name": "drupal/core",
"version": "9.5.8", "version": "9.5.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core.git", "url": "https://github.com/drupal/core.git",
"reference": "a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc" "reference": "eae5e76a8b403cbd42b3465f567313b52d78b0dc"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drupal/core/zipball/a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc", "url": "https://api.github.com/repos/drupal/core/zipball/eae5e76a8b403cbd42b3465f567313b52d78b0dc",
"reference": "a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc", "reference": "eae5e76a8b403cbd42b3465f567313b52d78b0dc",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4098,13 +4098,13 @@
], ],
"description": "Drupal is an open source content management platform powering millions of websites and applications.", "description": "Drupal is an open source content management platform powering millions of websites and applications.",
"support": { "support": {
"source": "https://github.com/drupal/core/tree/9.5.8" "source": "https://github.com/drupal/core/tree/9.5.5"
}, },
"time": "2023-04-19T16:14:39+00:00" "time": "2023-03-15T14:30:25+00:00"
}, },
{ {
"name": "drupal/core-composer-scaffold", "name": "drupal/core-composer-scaffold",
"version": "9.5.8", "version": "9.5.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-composer-scaffold.git", "url": "https://github.com/drupal/core-composer-scaffold.git",
@ -4148,13 +4148,13 @@
"drupal" "drupal"
], ],
"support": { "support": {
"source": "https://github.com/drupal/core-composer-scaffold/tree/9.5.8" "source": "https://github.com/drupal/core-composer-scaffold/tree/9.5.5"
}, },
"time": "2023-03-09T21:29:23+00:00" "time": "2023-03-09T21:29:23+00:00"
}, },
{ {
"name": "drupal/core-project-message", "name": "drupal/core-project-message",
"version": "9.5.8", "version": "9.5.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-project-message.git", "url": "https://github.com/drupal/core-project-message.git",
@ -4189,22 +4189,22 @@
"drupal" "drupal"
], ],
"support": { "support": {
"source": "https://github.com/drupal/core-project-message/tree/9.5.8" "source": "https://github.com/drupal/core-project-message/tree/9.5.5"
}, },
"time": "2022-02-24T17:40:53+00:00" "time": "2022-02-24T17:40:53+00:00"
}, },
{ {
"name": "drupal/core-recommended", "name": "drupal/core-recommended",
"version": "9.5.8", "version": "9.5.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/drupal/core-recommended.git", "url": "https://github.com/drupal/core-recommended.git",
"reference": "74db3999d3432b7433b399fe76fa6ff6f126bed9" "reference": "3c1d205349407e706cc89f56aa34448742fe81b4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/74db3999d3432b7433b399fe76fa6ff6f126bed9", "url": "https://api.github.com/repos/drupal/core-recommended/zipball/3c1d205349407e706cc89f56aa34448742fe81b4",
"reference": "74db3999d3432b7433b399fe76fa6ff6f126bed9", "reference": "3c1d205349407e706cc89f56aa34448742fe81b4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4213,7 +4213,7 @@
"doctrine/annotations": "~1.13.3", "doctrine/annotations": "~1.13.3",
"doctrine/lexer": "~1.2.3", "doctrine/lexer": "~1.2.3",
"doctrine/reflection": "~1.2.3", "doctrine/reflection": "~1.2.3",
"drupal/core": "9.5.8", "drupal/core": "9.5.5",
"egulias/email-validator": "~3.2.1", "egulias/email-validator": "~3.2.1",
"guzzlehttp/guzzle": "~6.5.8", "guzzlehttp/guzzle": "~6.5.8",
"guzzlehttp/promises": "~1.5.2", "guzzlehttp/promises": "~1.5.2",
@ -4275,9 +4275,9 @@
], ],
"description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.", "description": "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.",
"support": { "support": {
"source": "https://github.com/drupal/core-recommended/tree/9.5.8" "source": "https://github.com/drupal/core-recommended/tree/9.5.5"
}, },
"time": "2023-04-19T16:14:39+00:00" "time": "2023-03-15T14:30:25+00:00"
}, },
{ {
"name": "drupal/cshs", "name": "drupal/cshs",
@ -5184,62 +5184,6 @@
"source": "https://git.drupalcode.org/project/entity_clone" "source": "https://git.drupalcode.org/project/entity_clone"
} }
}, },
{
"name": "drupal/entity_limit",
"version": "2.0.0-alpha3",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/entity_limit.git",
"reference": "8.x-2.0-alpha3"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/entity_limit-8.x-2.0-alpha3.zip",
"reference": "8.x-2.0-alpha3",
"shasum": "a8f6150836414398a6c55d810b5c9afd723d645d"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-2.0-alpha3",
"datestamp": "1667703283",
"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-or-later"
],
"authors": [
{
"name": "gaurav.goyal",
"homepage": "https://www.drupal.org/user/2497208"
},
{
"name": "purushotam.rai",
"homepage": "https://www.drupal.org/user/3193859"
},
{
"name": "vyasamit2007",
"homepage": "https://www.drupal.org/user/246119"
},
{
"name": "wasare",
"homepage": "https://www.drupal.org/user/18262"
}
],
"description": "Allow administrators to restrict the number of entities that may be created based on different conditions.",
"homepage": "https://www.drupal.org/project/entity_limit",
"support": {
"source": "https://git.drupalcode.org/project/entity_limit"
}
},
{ {
"name": "drupal/entity_reference_revisions", "name": "drupal/entity_reference_revisions",
"version": "1.10.0", "version": "1.10.0",
@ -9760,16 +9704,16 @@
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "1.9.1", "version": "1.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b" "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/e4490cabc77465aaee90b20cfc9a770f8c04be6b", "url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b", "reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -9788,6 +9732,11 @@
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
}
},
"autoload": { "autoload": {
"files": [ "files": [
"src/functions_include.php" "src/functions_include.php"
@ -9845,7 +9794,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/1.9.1" "source": "https://github.com/guzzle/psr7/tree/1.9.0"
}, },
"funding": [ "funding": [
{ {
@ -9861,7 +9810,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-04-17T16:00:37+00:00" "time": "2022-06-20T21:43:03+00:00"
}, },
{ {
"name": "kint-php/kint", "name": "kint-php/kint",
@ -10631,16 +10580,16 @@
}, },
{ {
"name": "pear/pear-core-minimal", "name": "pear/pear-core-minimal",
"version": "v1.10.13", "version": "v1.10.11",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pear/pear-core-minimal.git", "url": "https://github.com/pear/pear-core-minimal.git",
"reference": "aed862e95fd286c53cc546734868dc38ff4b5b1d" "reference": "68d0d32ada737153b7e93b8d3c710ebe70ac867d"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/aed862e95fd286c53cc546734868dc38ff4b5b1d", "url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/68d0d32ada737153b7e93b8d3c710ebe70ac867d",
"reference": "aed862e95fd286c53cc546734868dc38ff4b5b1d", "reference": "68d0d32ada737153b7e93b8d3c710ebe70ac867d",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -10675,7 +10624,7 @@
"issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR", "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR",
"source": "https://github.com/pear/pear-core-minimal" "source": "https://github.com/pear/pear-core-minimal"
}, },
"time": "2023-04-19T19:15:47+00:00" "time": "2021-08-10T22:31:03+00:00"
}, },
{ {
"name": "pear/pear_exception", "name": "pear/pear_exception",
@ -10997,21 +10946,21 @@
}, },
{ {
"name": "psr/http-factory", "name": "psr/http-factory",
"version": "1.0.2", "version": "1.0.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/http-factory.git", "url": "https://github.com/php-fig/http-factory.git",
"reference": "e616d01114759c4c489f93b099585439f795fe35" "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"reference": "e616d01114759c4c489f93b099585439f795fe35", "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.0.0", "php": ">=7.0.0",
"psr/http-message": "^1.0 || ^2.0" "psr/http-message": "^1.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@ -11031,7 +10980,7 @@
"authors": [ "authors": [
{ {
"name": "PHP-FIG", "name": "PHP-FIG",
"homepage": "https://www.php-fig.org/" "homepage": "http://www.php-fig.org/"
} }
], ],
"description": "Common interfaces for PSR-7 HTTP message factories", "description": "Common interfaces for PSR-7 HTTP message factories",
@ -11046,9 +10995,9 @@
"response" "response"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/http-factory/tree/1.0.2" "source": "https://github.com/php-fig/http-factory/tree/master"
}, },
"time": "2023-04-10T20:10:41+00:00" "time": "2019-04-30T12:38:16+00:00"
}, },
{ {
"name": "psr/http-message", "name": "psr/http-message",
@ -14084,16 +14033,16 @@
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v5.4.23", "version": "v5.4.21",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "9a8a5b6d6508928174ded2109e29328a55342a42" "reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/9a8a5b6d6508928174ded2109e29328a55342a42", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/6c5ac3a1be8b849d59a1a77877ee110e1b55eb74",
"reference": "9a8a5b6d6508928174ded2109e29328a55342a42", "reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -14153,7 +14102,7 @@
"dump" "dump"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.4.23" "source": "https://github.com/symfony/var-dumper/tree/v5.4.21"
}, },
"funding": [ "funding": [
{ {
@ -14169,7 +14118,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-04-18T09:26:27+00:00" "time": "2023-02-23T10:00:28+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
@ -14655,7 +14604,6 @@
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": { "stability-flags": {
"drupal/audiofield": 20, "drupal/audiofield": 20,
"drupal/entity_limit": 15,
"drupal/flexible_permissions": 10, "drupal/flexible_permissions": 10,
"drupal/graphql": 20, "drupal/graphql": 20,
"drupal/group": 20, "drupal/group": 20,

View File

@ -51,7 +51,6 @@ module:
entity: 0 entity: 0
entity_browser: 0 entity_browser: 0
entity_browser_enhanced: 0 entity_browser_enhanced: 0
entity_limit: 0
entity_reference_revisions: 0 entity_reference_revisions: 0
field: 0 field: 0
field_group: 0 field_group: 0

View File

@ -1,17 +0,0 @@
uuid: 6df89594-cb4e-47b5-aba6-36de29c5b5e9
langcode: fr
status: true
dependencies: { }
id: concernement
label: concernement
weight: 0
plugin: role_limit
entity_type: node
entity_bundles:
concernement: concernement
entite: '0'
static: '0'
limits:
-
id: authenticated
limit: 1

View File

@ -1,17 +0,0 @@
uuid: 2aa643b1-1d91-4bc4-86f7-21bd98dd8835
langcode: fr
status: true
dependencies: { }
id: concernement_pour_admin_figuresl
label: 'concernement pour admin@figureslibres.io'
weight: 0
plugin: user_limit
entity_type: node
entity_bundles:
concernement: concernement
entite: '0'
static: '0'
limits:
-
id: '2'
limit: -1

View File

@ -2,13 +2,10 @@ uuid: f8555968-3235-4ab5-8996-bb5deea257b9
langcode: fr langcode: fr
status: true status: true
dependencies: dependencies:
config:
- field.storage.node.field_confidentialite
module: module:
- gnode - gnode
- group - group
- node - node
- options
_core: _core:
default_config_hash: 50gd6UKSddlPxEUbaEG7l1ZHe5Akog488RFK-jAUkCM default_config_hash: 50gd6UKSddlPxEUbaEG7l1ZHe5Akog488RFK-jAUkCM
id: group_nodes id: group_nodes
@ -157,80 +154,17 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
uid: status:
id: uid id: status
table: group_relationship_field_data table: node_field_data
field: uid field: status
relationship: group_relationship
group_type: group
admin_label: ''
entity_type: group_relationship
entity_field: uid
plugin_id: field
label: 'Group relationship creator'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_confidentialite:
id: field_confidentialite
table: node__field_confidentialite
field: field_confidentialite
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: node
entity_field: status
plugin_id: field plugin_id: field
label: Confidentialité label: Status
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: false
@ -272,8 +206,11 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
click_sort_column: value click_sort_column: value
type: list_default type: boolean
settings: { } settings:
format: custom
format_custom_false: Unpublished
format_custom_true: Published
group_column: value group_column: value
group_columns: { } group_columns: { }
group_rows: true group_rows: true
@ -988,8 +925,7 @@ display:
- url.query_args - url.query_args
- user.group_permissions - user.group_permissions
- 'user.node_grants:view' - 'user.node_grants:view'
tags: tags: { }
- 'config:field.storage.node.field_confidentialite'
page_1: page_1:
id: page_1 id: page_1
display_title: Page display_title: Page
@ -1018,5 +954,4 @@ display:
- url.query_args - url.query_args
- user.group_permissions - user.group_permissions
- 'user.node_grants:view' - 'user.node_grants:view'
tags: tags: { }
- 'config:field.storage.node.field_confidentialite'

View File

@ -2,10 +2,9 @@ admin_menus.concernement_add:
route_name: node.add route_name: node.add
route_parameters: route_parameters:
node_type: 'concernement' node_type: 'concernement'
title: 'Ajouter un concernement' title: 'Add Concernement'
appears_on: appears_on:
- view.admin_nodes.page_1 - view.admin_nodes.page_1
- view.user_contents.page_1
admin_menus.entite_add: admin_menus.entite_add:
route_name: node.add route_name: node.add