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-project-message": "^9",
"drupal/core-recommended": "^9",
"drupal/entity_limit": "^2.0@alpha",
"drupal/flexible_permissions": "@beta",
"drupal/genpass": "^1.1",
"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",
"This file is @generated automatically"
],
"content-hash": "f874a1a846eacffa0d31c1312d5e160a",
"content-hash": "f3baae79e847c753ab9ac766f4338529",
"packages": [
{
"name": "alchemy/zippy",
@ -3937,16 +3937,16 @@
},
{
"name": "drupal/core",
"version": "9.5.8",
"version": "9.5.5",
"source": {
"type": "git",
"url": "https://github.com/drupal/core.git",
"reference": "a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc"
"reference": "eae5e76a8b403cbd42b3465f567313b52d78b0dc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core/zipball/a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc",
"reference": "a9a1e4e1fe23fb8c83fd6aeafb740c1462a218fc",
"url": "https://api.github.com/repos/drupal/core/zipball/eae5e76a8b403cbd42b3465f567313b52d78b0dc",
"reference": "eae5e76a8b403cbd42b3465f567313b52d78b0dc",
"shasum": ""
},
"require": {
@ -4098,13 +4098,13 @@
],
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"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",
"version": "9.5.8",
"version": "9.5.5",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-composer-scaffold.git",
@ -4148,13 +4148,13 @@
"drupal"
],
"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"
},
{
"name": "drupal/core-project-message",
"version": "9.5.8",
"version": "9.5.5",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-project-message.git",
@ -4189,22 +4189,22 @@
"drupal"
],
"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"
},
{
"name": "drupal/core-recommended",
"version": "9.5.8",
"version": "9.5.5",
"source": {
"type": "git",
"url": "https://github.com/drupal/core-recommended.git",
"reference": "74db3999d3432b7433b399fe76fa6ff6f126bed9"
"reference": "3c1d205349407e706cc89f56aa34448742fe81b4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/74db3999d3432b7433b399fe76fa6ff6f126bed9",
"reference": "74db3999d3432b7433b399fe76fa6ff6f126bed9",
"url": "https://api.github.com/repos/drupal/core-recommended/zipball/3c1d205349407e706cc89f56aa34448742fe81b4",
"reference": "3c1d205349407e706cc89f56aa34448742fe81b4",
"shasum": ""
},
"require": {
@ -4213,7 +4213,7 @@
"doctrine/annotations": "~1.13.3",
"doctrine/lexer": "~1.2.3",
"doctrine/reflection": "~1.2.3",
"drupal/core": "9.5.8",
"drupal/core": "9.5.5",
"egulias/email-validator": "~3.2.1",
"guzzlehttp/guzzle": "~6.5.8",
"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.",
"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",
@ -5184,62 +5184,6 @@
"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",
"version": "1.10.0",
@ -9760,16 +9704,16 @@
},
{
"name": "guzzlehttp/psr7",
"version": "1.9.1",
"version": "1.9.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b"
"reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/e4490cabc77465aaee90b20cfc9a770f8c04be6b",
"reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"reference": "e98e3e6d4f86621a9b75f623996e6bbdeb4b9318",
"shasum": ""
},
"require": {
@ -9788,6 +9732,11 @@
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
}
},
"autoload": {
"files": [
"src/functions_include.php"
@ -9845,7 +9794,7 @@
],
"support": {
"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": [
{
@ -9861,7 +9810,7 @@
"type": "tidelift"
}
],
"time": "2023-04-17T16:00:37+00:00"
"time": "2022-06-20T21:43:03+00:00"
},
{
"name": "kint-php/kint",
@ -10631,16 +10580,16 @@
},
{
"name": "pear/pear-core-minimal",
"version": "v1.10.13",
"version": "v1.10.11",
"source": {
"type": "git",
"url": "https://github.com/pear/pear-core-minimal.git",
"reference": "aed862e95fd286c53cc546734868dc38ff4b5b1d"
"reference": "68d0d32ada737153b7e93b8d3c710ebe70ac867d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/aed862e95fd286c53cc546734868dc38ff4b5b1d",
"reference": "aed862e95fd286c53cc546734868dc38ff4b5b1d",
"url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/68d0d32ada737153b7e93b8d3c710ebe70ac867d",
"reference": "68d0d32ada737153b7e93b8d3c710ebe70ac867d",
"shasum": ""
},
"require": {
@ -10675,7 +10624,7 @@
"issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR",
"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",
@ -10997,21 +10946,21 @@
},
{
"name": "psr/http-factory",
"version": "1.0.2",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/http-factory.git",
"reference": "e616d01114759c4c489f93b099585439f795fe35"
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35",
"reference": "e616d01114759c4c489f93b099585439f795fe35",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be",
"shasum": ""
},
"require": {
"php": ">=7.0.0",
"psr/http-message": "^1.0 || ^2.0"
"psr/http-message": "^1.0"
},
"type": "library",
"extra": {
@ -11031,7 +10980,7 @@
"authors": [
{
"name": "PHP-FIG",
"homepage": "https://www.php-fig.org/"
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interfaces for PSR-7 HTTP message factories",
@ -11046,9 +10995,9 @@
"response"
],
"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",
@ -14084,16 +14033,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v5.4.23",
"version": "v5.4.21",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "9a8a5b6d6508928174ded2109e29328a55342a42"
"reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/9a8a5b6d6508928174ded2109e29328a55342a42",
"reference": "9a8a5b6d6508928174ded2109e29328a55342a42",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/6c5ac3a1be8b849d59a1a77877ee110e1b55eb74",
"reference": "6c5ac3a1be8b849d59a1a77877ee110e1b55eb74",
"shasum": ""
},
"require": {
@ -14153,7 +14102,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v5.4.23"
"source": "https://github.com/symfony/var-dumper/tree/v5.4.21"
},
"funding": [
{
@ -14169,7 +14118,7 @@
"type": "tidelift"
}
],
"time": "2023-04-18T09:26:27+00:00"
"time": "2023-02-23T10:00:28+00:00"
},
{
"name": "symfony/yaml",
@ -14655,7 +14604,6 @@
"minimum-stability": "stable",
"stability-flags": {
"drupal/audiofield": 20,
"drupal/entity_limit": 15,
"drupal/flexible_permissions": 10,
"drupal/graphql": 20,
"drupal/group": 20,

View File

@ -51,7 +51,6 @@ module:
entity: 0
entity_browser: 0
entity_browser_enhanced: 0
entity_limit: 0
entity_reference_revisions: 0
field: 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
status: true
dependencies:
config:
- field.storage.node.field_confidentialite
module:
- gnode
- group
- node
- options
_core:
default_config_hash: 50gd6UKSddlPxEUbaEG7l1ZHe5Akog488RFK-jAUkCM
id: group_nodes
@ -157,80 +154,17 @@ display:
multi_type: separator
separator: ', '
field_api_classes: false
uid:
id: uid
table: group_relationship_field_data
field: uid
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
status:
id: status
table: node_field_data
field: status
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: status
plugin_id: field
label: Confidentialité
label: Status
exclude: false
alter:
alter_text: false
@ -272,8 +206,11 @@ display:
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: list_default
settings: { }
type: boolean
settings:
format: custom
format_custom_false: Unpublished
format_custom_true: Published
group_column: value
group_columns: { }
group_rows: true
@ -988,8 +925,7 @@ display:
- url.query_args
- user.group_permissions
- 'user.node_grants:view'
tags:
- 'config:field.storage.node.field_confidentialite'
tags: { }
page_1:
id: page_1
display_title: Page
@ -1018,5 +954,4 @@ display:
- url.query_args
- user.group_permissions
- 'user.node_grants:view'
tags:
- 'config:field.storage.node.field_confidentialite'
tags: { }

View File

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