user_history initialized, granted admin to access login_history view

This commit is contained in:
Bachir Soussi Chiadmi 2022-09-23 11:18:01 +02:00
parent 905c82f59f
commit 7cc9166ddd
14 changed files with 468 additions and 4 deletions

View File

@ -2,6 +2,12 @@ uuid: 82cfb3bb-2c59-4e94-87c2-7ed3fef7d903
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- field.field.user_history.user_history.changed
- field.field.user_history.user_history.field_company
- field.field.user_history.user_history.field_member_type
- field.field.user_history.user_history.field_memo
- field.field.user_history.user_history.field_showroom
module: module:
- user_history - user_history
_core: _core:
@ -11,4 +17,9 @@ targetEntityType: user_history
bundle: user_history bundle: user_history
mode: default mode: default
content: { } content: { }
hidden: { } hidden:
changed: true
field_company: true
field_member_type: true
field_memo: true
field_showroom: true

View File

@ -2,6 +2,12 @@ uuid: 6159fee5-dea5-4c37-877e-f1d81222e4ef
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
config:
- field.field.user_history.user_history.changed
- field.field.user_history.user_history.field_company
- field.field.user_history.user_history.field_member_type
- field.field.user_history.user_history.field_memo
- field.field.user_history.user_history.field_showroom
module: module:
- user_history - user_history
_core: _core:
@ -194,5 +200,10 @@ content:
weight: 9 weight: 9
region: content region: content
hidden: hidden:
changed: true
field_company: true
field_member_type: true
field_memo: true
field_showroom: true
search_api_excerpt: true search_api_excerpt: true
synonyms: true synonyms: true

View File

@ -4,6 +4,11 @@ status: true
dependencies: dependencies:
config: config:
- core.entity_view_mode.user_history.tab - core.entity_view_mode.user_history.tab
- field.field.user_history.user_history.changed
- field.field.user_history.user_history.field_company
- field.field.user_history.user_history.field_member_type
- field.field.user_history.user_history.field_memo
- field.field.user_history.user_history.field_showroom
module: module:
- user_history - user_history
_core: _core:
@ -107,6 +112,11 @@ content:
weight: 6 weight: 6
region: content region: content
hidden: hidden:
changed: true
field_company: true
field_member_type: true
field_memo: true
field_showroom: true
search_api_excerpt: true search_api_excerpt: true
synonyms: true synonyms: true
user_access: true user_access: true

View File

@ -0,0 +1,20 @@
uuid: 5ff1c4d4-a0d9-419b-8f1a-fcd4109af235
langcode: en
status: true
dependencies:
config:
- field.storage.user_history.changed
module:
- user_history
id: user_history.user_history.changed
field_name: changed
entity_type: user_history
bundle: user_history
label: Changed
description: 'The time that the user was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed

View File

@ -0,0 +1,30 @@
uuid: 3c278633-e325-4578-915e-12c4c0962ed9
langcode: en
status: true
dependencies:
config:
- field.storage.user_history.field_company
- taxonomy.vocabulary.company
module:
- user_history
id: user_history.user_history.field_company
field_name: field_company
entity_type: user_history
bundle: user_history
label: Company
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
company: company
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,28 @@
uuid: 294a3939-be0c-4e55-9d67-2f6a85c20aaf
langcode: en
status: true
dependencies:
config:
- field.storage.user_history.field_member_type
module:
- options
- unique_content_field_validation
- user_history
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
id: user_history.user_history.field_member_type
field_name: field_member_type
entity_type: user_history
bundle: user_history
label: 'Member Type'
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings: { }
field_type: list_integer

View File

@ -0,0 +1,25 @@
uuid: 86f32b81-68fa-429f-96bc-78c127614937
langcode: en
status: true
dependencies:
config:
- field.storage.user_history.field_memo
module:
- unique_content_field_validation
- user_history
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
id: user_history.user_history.field_memo
field_name: field_memo
entity_type: user_history
bundle: user_history
label: Memo
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: string_long

View File

@ -0,0 +1,30 @@
uuid: 4d87baea-bccb-49b0-97bc-7f88227bd591
langcode: en
status: true
dependencies:
config:
- field.storage.user_history.field_showroom
- taxonomy.vocabulary.showroom
module:
- user_history
id: user_history.user_history.field_showroom
field_name: field_showroom
entity_type: user_history
bundle: user_history
label: Showroom
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
showroom: showroom
sort:
field: name
direction: asc
auto_create: false
auto_create_bundle: ''
field_type: entity_reference

View File

@ -0,0 +1,18 @@
uuid: e8488f73-cb96-415c-87df-4354a751d577
langcode: en
status: true
dependencies:
module:
- user_history
id: user_history.changed
field_name: changed
entity_type: user_history
type: changed
settings: { }
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,24 @@
uuid: ab537048-df6b-48f1-ac8d-d868fe1b5368
langcode: en
status: true
dependencies:
module:
- field_permissions
- taxonomy
- user_history
third_party_settings:
field_permissions:
permission_type: custom
id: user_history.field_company
field_name: field_company
entity_type: user_history
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,37 @@
uuid: 5101633f-aba1-4658-bbcf-04e3b199c3f2
langcode: en
status: true
dependencies:
module:
- field_permissions
- options
- user_history
third_party_settings:
field_permissions:
permission_type: custom
id: user_history.field_member_type
field_name: field_member_type
entity_type: user_history
type: list_integer
settings:
allowed_values:
-
value: 0
label: Web
-
value: 1
label: Showroom
-
value: 2
label: Multijoueurs
-
value: 3
label: AAF
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,23 @@
uuid: 5fbd72ac-a63e-4bac-9b91-cfffc8f9a3f1
langcode: en
status: true
dependencies:
module:
- field_permissions
- user_history
third_party_settings:
field_permissions:
permission_type: custom
id: user_history.field_memo
field_name: field_memo
entity_type: user_history
type: string_long
settings:
case_sensitive: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -0,0 +1,24 @@
uuid: f6cafa78-778a-409a-af83-29cf5e98e3ee
langcode: en
status: true
dependencies:
module:
- field_permissions
- taxonomy
- user_history
third_party_settings:
field_permissions:
permission_type: custom
id: user_history.field_showroom
field_name: field_showroom
entity_type: user_history
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@ -140,6 +140,70 @@ display:
multi_type: separator multi_type: separator
separator: ', ' separator: ', '
field_api_classes: false field_api_classes: false
mail:
id: mail
table: users_field_data
field: mail
relationship: uid
group_type: group
admin_label: ''
entity_type: user
entity_field: mail
plugin_id: field
label: Email
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: value
type: basic_string
settings: { }
group_column: value
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
hostname: hostname:
id: hostname id: hostname
table: login_history table: login_history
@ -316,7 +380,7 @@ display:
type: basic type: basic
options: options:
submit_button: Apply submit_button: Apply
reset_button: false reset_button: true
reset_button_label: Reset reset_button_label: Reset
exposed_sorts_label: 'Sort by' exposed_sorts_label: 'Sort by'
expose_sort_order: true expose_sort_order: true
@ -332,7 +396,59 @@ display:
empty: { } empty: { }
sorts: { } sorts: { }
arguments: { } arguments: { }
filters: { } filters:
mail:
id: mail
table: users_field_data
field: mail
relationship: uid
group_type: group
admin_label: ''
entity_type: user
entity_field: mail
plugin_id: string
operator: contains
value: ''
group: 1
exposed: true
expose:
operator_id: mail_op
label: Email
description: ''
use_operator: false
operator: mail_op
operator_limit_selection: false
operator_list: { }
identifier: mail
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
unverified: '0'
anonymous: '0'
free_user: '0'
contact_company: '0'
alpha_testeur: '0'
student: '0'
adherent: '0'
translator: '0'
admin_showroom: '0'
admin: '0'
root: '0'
placeholder: ''
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style: style:
type: table type: table
options: options:
@ -342,6 +458,7 @@ display:
columns: columns:
login: login login: login
name: name name: name
mail: mail
hostname: hostname hostname: hostname
one_time: one_time one_time: one_time
user_agent: user_agent user_agent: user_agent
@ -361,6 +478,13 @@ display:
separator: '' separator: ''
empty_column: false empty_column: false
responsive: '' responsive: ''
mail:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
hostname: hostname:
sortable: true sortable: true
default_sort_order: asc default_sort_order: asc
@ -415,12 +539,60 @@ display:
required: false required: false
header: { } header: { }
footer: { } footer: { }
display_extenders: { } display_extenders:
views_ef_fieldset:
views_ef_fieldset:
enabled: 0
options:
sort:
root:
container_type: details
title: Filters
description: ''
open: '1'
weight: '0'
id: root
pid: ''
depth: '0'
type: container
mail:
weight: '-4'
id: mail
pid: root
depth: '1'
type: filter
submit:
weight: '-4'
id: submit
pid: root
depth: '1'
type: buttons
container-0:
container_type: details
title: 'Container 0'
description: ''
weight: '-3'
open: 0
id: container-0
pid: root
depth: '1'
type: container
container-1:
container_type: details
title: 'Container 1'
description: ''
weight: '-2'
open: 0
id: container-1
pid: root
depth: '1'
type: container
cache_metadata: cache_metadata:
max-age: -1 max-age: -1
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url
- url.query_args - url.query_args
- user.permissions - user.permissions
tags: { } tags: { }
@ -438,6 +610,7 @@ display:
contexts: contexts:
- 'languages:language_content' - 'languages:language_content'
- 'languages:language_interface' - 'languages:language_interface'
- url
- url.query_args - url.query_args
- user.permissions - user.permissions
tags: { } tags: { }