Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
7.2k
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!5167
2878513-10.1.x
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
2878513-10.1.x
issue/drupal-2878513:2878513-11.x
into
11.x
Overview
0
Commits
12
Pipelines
13
Changes
5
Open
James Shields
requested to merge
issue/drupal-2878513:2878513-11.x
into
11.x
1 year ago
Overview
0
Commits
12
Pipelines
13
Changes
5
Expand
Moves 2878513-10.1.x to 11.x Closes
#2878513
👍
0
👎
0
Merge request reports
Compare
11.x
version 12
3590d125
2 months ago
version 11
13d595d4
2 months ago
version 10
5741effd
2 months ago
version 9
1e053eef
2 months ago
version 8
01887a56
2 months ago
version 7
8b5c5a4c
2 months ago
version 6
47d259cc
1 year ago
version 5
205e70f5
1 year ago
version 4
1c995781
1 year ago
version 3
a8c16ee5
1 year ago
version 2
022610af
1 year ago
version 1
756c08ee
1 year ago
11.x (HEAD)
and
latest version
latest version
a1b4b3ef
12 commits,
2 months ago
version 12
3590d125
11 commits,
2 months ago
version 11
13d595d4
10 commits,
2 months ago
version 10
5741effd
9 commits,
2 months ago
version 9
1e053eef
8 commits,
2 months ago
version 8
01887a56
7 commits,
2 months ago
version 7
8b5c5a4c
6 commits,
2 months ago
version 6
47d259cc
5 commits,
1 year ago
version 5
205e70f5
5 commits,
1 year ago
version 4
1c995781
4 commits,
1 year ago
version 3
a8c16ee5
3 commits,
1 year ago
version 2
022610af
2 commits,
1 year ago
version 1
756c08ee
1 commit,
1 year ago
5 files
+
185
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
core/modules/contact/src/ContactMessageAccessControlHandler.php
+
3
−
1
Options
@@ -17,7 +17,9 @@ class ContactMessageAccessControlHandler extends EntityAccessControlHandler {
* {@inheritdoc}
*/
protected
function
checkCreateAccess
(
AccountInterface
$account
,
array
$context
,
$entity_bundle
=
NULL
)
{
return
AccessResult
::
allowedIfHasPermission
(
$account
,
'access site-wide contact form'
);
// Message entities are not stored. Access is denied for
// viewing, updating, and deleting.
return
AccessResult
::
forbidden
(
'Message entities are not stored.'
);
}
}
Loading