Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commerce_license
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
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
commerce_license
Commits
1ec900ed
Commit
1ec900ed
authored
1 year ago
by
Tom Ashe
Committed by
Tom Ashe
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3361680
by TomTech: Add administer commerce_license permission for configuration pages
parent
32dc7811
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
commerce_license.permissions.yml
+4
-0
4 additions, 0 deletions
commerce_license.permissions.yml
commerce_license.routing.yml
+3
-3
3 additions, 3 deletions
commerce_license.routing.yml
with
7 additions
and
3 deletions
commerce_license.permissions.yml
0 → 100644
+
4
−
0
View file @
1ec900ed
administer commerce_license
:
title
:
'
Administer
Commerce
License'
description
:
'
Administer
Commerce
License.'
restrict access
:
true
This diff is collapsed.
Click to expand it.
commerce_license.routing.yml
+
3
−
3
View file @
1ec900ed
...
...
@@ -4,7 +4,7 @@ entity.commerce_license.license_types:
_controller
:
'
Drupal\commerce_license\Controller\LicenseTypesAdminController::adminPage'
_title
:
'
License
types'
requirements
:
_permission
:
'
a
ccess
commerce
administration
pages
'
_permission
:
'
a
dminister
commerce_license
'
options
:
_admin_route
:
TRUE
...
...
@@ -13,7 +13,7 @@ entity.commerce_license.field_ui_fields:
defaults
:
_controller
:
'
Drupal\commerce_license\Controller\LicenseTypesAdminController::bundlePage'
requirements
:
_permission
:
'
a
ccess
commerce
administration
pages
'
_permission
:
'
a
dminister
commerce_license
'
options
:
_admin_route
:
TRUE
parameters
:
...
...
@@ -26,6 +26,6 @@ commerce_license.configuration:
_controller
:
'
\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title
:
'
Licenses'
requirements
:
_permission
:
'
a
ccess
commerce
administration
pages
'
_permission
:
'
a
dminister
commerce_license
'
options
:
_admin_route
:
TRUE
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment