admin menu per admin | group admin | group member; ouatt_users curom module

This commit is contained in:
2022-11-07 17:02:12 +01:00
parent f9e76d4e4c
commit f523aa1b25
14 changed files with 285 additions and 114 deletions

View File

@@ -7,7 +7,7 @@ role_menu_pairs:
menu: administrator
-
role: group_admin
menu: administrator
menu: group-admin
-
role: group_member
menu: administrator

View File

@@ -6,8 +6,26 @@ dependencies:
- field.field.group.bourgeon.field_description
- group.type.bourgeon
module:
- path
- field_group
- text
third_party_settings:
field_group:
group_details:
children:
- status
label: Details
region: content
parent_name: ''
weight: 3
format_type: details_sidebar
format_settings:
classes: ''
show_empty_fields: true
id: ''
open: true
description: ''
required_fields: true
weight: 0
id: group.bourgeon.default
targetEntityType: group
bundle: bourgeon
@@ -15,7 +33,7 @@ mode: default
content:
field_description:
type: text_textarea_with_summary
weight: 4
weight: 1
region: content
settings:
rows: 9
@@ -31,34 +49,14 @@ content:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 1
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 2
region: content
settings: { }
third_party_settings: { }
status:
type: boolean_checkbox
weight: 3
weight: 2
region: content
settings:
display_label: true
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
hidden: { }
hidden:
langcode: true
path: true
uid: true

View File

@@ -0,0 +1,21 @@
uuid: 2831e53a-5b05-4e79-bd7c-9f796f246b67
langcode: fr
status: true
dependencies:
module:
- user
id: user.user.default
targetEntityType: user
bundle: user
mode: default
content:
account:
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
contact: true
langcode: true
language: true
path: true

View File

@@ -0,0 +1,23 @@
uuid: 613e48fc-ab30-407f-a15d-42e81751673d
langcode: fr
status: true
dependencies:
config:
- core.entity_form_mode.user.group
module:
- user
id: user.user.group
targetEntityType: user
bundle: user
mode: group
content:
account:
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden:
contact: true
langcode: true
language: true
path: true

View File

@@ -0,0 +1,10 @@
uuid: 61e96dfa-5a17-4092-a200-7b5f1bc2b273
langcode: fr
status: true
dependencies:
module:
- user
id: user.group
label: Group
targetEntityType: user
cache: true

View File

@@ -86,6 +86,7 @@ module:
node: 0
options: 0
ouatt_graphql: 0
ouatt_users: 0
page_cache: 0
pagerer: 0
path: 0

View File

@@ -18,3 +18,5 @@ permissions:
- 'view group_node:concernement entity'
- 'create group_node:entite entity'
- 'view unpublished group_node:entite entity'
- 'update own group_node:concernement entity'
- 'update own group_node:entite entity'

View File

@@ -1,2 +1,50 @@
menus: { }
menus:
-
menu_name: group-admin
title: Bourgeons
parent: null
uri: 'internal:/admin/group'
link_title: ''
description: null
enabled: true
expanded: false
weight: 0
langcode: fr
uuid: acb85cbe-f9e6-4b37-945c-be4a2661ec0f
-
menu_name: group-admin
title: 'Create User'
parent: null
uri: 'internal:/admin/people/create'
link_title: ''
description: null
enabled: true
expanded: false
weight: 1
langcode: fr
uuid: 52ec0062-b1c9-45be-a346-1b4907b7dea0
-
menu_name: administrator
title: Groups
parent: null
uri: 'http://dev.ouatterrir.fr/api/admin/group'
link_title: ''
description: null
enabled: true
expanded: false
weight: 1
langcode: fr
uuid: a9498617-648c-47d2-89d3-bc25c02d2a09
-
menu_name: administrator
title: Users
parent: null
uri: 'internal:/admin/people'
link_title: ''
description: null
enabled: true
expanded: false
weight: 2
langcode: fr
uuid: a6e17ef7-58a7-430b-9a82-c7af480a2870
log: 1

View File

@@ -0,0 +1,8 @@
uuid: 26b3c196-61b4-4513-a8bf-41550471270a
langcode: und
status: true
dependencies: { }
id: group-admin
label: 'group admin'
description: ''
locked: false

View File

@@ -18,7 +18,6 @@ is_admin: null
permissions:
- 'access administration pages'
- 'access toolbar'
- 'access users overview'
- 'assign group_member role'
- 'cancel users with role group_member'
- 'create concernement content'