You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cloud/docker/docker-config.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ You can run composer using the `docker` command before you create the container
97
97
When you run composer with Docker commands, you must use the [Docker Hub PHP Image Tag] that matches the Magento application version. The following example uses PHP 7.3. You run this command from the project root directory.
This command passes in the current working directory as `/app/`, includes composer from `~/.composer/`, and runs the `composer install` command in the container. After this set up, the command fixes the permissions on the files that have been added or changed.
Copy file name to clipboardExpand all lines: src/cloud/project/project-upgrade.md
+13-11
Original file line number
Diff line number
Diff line change
@@ -6,25 +6,25 @@ functional_areas:
6
6
- Upgrade
7
7
---
8
8
9
-
You can upgrade the core {{site.data.var.ee}} code base to a newer version. It is best to review the summary of the updated [technology stack] before upgrading your project. If you need to upgrade from a version older than 2.1, you must upgrade to a supported version first. See [Upgrades and patches] for upgrade path details.
9
+
You can upgrade the core {{site.data.var.ee}} code base to a newer version. Before upgrading your project, review the [{{site.data.var.ece}} service versions][version compatibility matrix] information for the latest software version requirements. If you need to upgrade from a version older than 2.1, you must upgrade to a supported version first. See [Upgrades and patches] for upgrade path details.
10
10
11
11
{% include cloud/note-upgrade.md %}
12
12
13
13
{% include cloud/note-ece-tools-package.md %}
14
14
15
-
## Upgrading from older versions of the Magento application
15
+
## Upgrade from older versions of the Magento application
16
16
17
-
If you are upgrading from 2.1.4 or later to 2.2.x or later, review the [Magento technology stack requirements]. Your upgrade tasks may include the following:
17
+
If you are upgrading from 2.1.4 or later to 2.2.x or later, review the [{{site.data.var.ece}} service versions][version compatibility matrix] information for the latest software version requirements. Your upgrade tasks may include the following:
18
18
19
19
- Upgrade your PHP version
20
20
- Convert an older configuration management file
21
21
- Update the `.magento.app.yaml` file with new settings for hooks and environment variables
22
-
- Upgrade to the latest supported version of Fastly
22
+
- Upgrade third-party extensions to the latest supported version
23
23
- Update the `.gitignore` file
24
24
25
25
### Configuration management
26
26
27
-
If you are upgrading from 2.1.4 or later to 2.2.x or later and use [Configuration Management], you need to migrate the `config.local.php` file. Older versions used a `config.local.php` file for Configuration Management, but version 2.2.0 and later use the `config.php` file. This file works exactly as the `config.local.php` file, with additional settings that include a list of your enabled modules, additional configurations, and a different name.
27
+
If you are upgrading from 2.1.4 or later to 2.2.x or later and use [Configuration Management], you need to migrate the `config.local.php` file. Older versions used a `config.local.php` file for Configuration Management, but version 2.2.0 and later use the `config.php` file. This file works exactly like the `config.local.php` file, but it has different configuration settings that include a list of your enabled modulesand additional configuration options.
28
28
29
29
{:.procedure}
30
30
To create a temporary `config.php` file:
@@ -86,9 +86,9 @@ To update the `.magento.app.yaml` file:
86
86
87
87
1. Continue with the upgrade process.
88
88
89
-
## Upgrading the Magento application
89
+
## Upgrade the Magento application
90
90
91
-
Review the [Magento technology stack requirements] before upgrading your Magento application.
91
+
Review the [service versions][version compatibility matrix] information for the latest software version requirements before upgrading your Magento application.
92
92
93
93
### Back up the database
94
94
@@ -173,7 +173,7 @@ To create a system-specific configuration file:
173
173
{:.bs-callout-warning}
174
174
For an upgrade, you delete the `config.php` file. Once this file is added to your code, you should **not** delete it. If you need to remove or edit settings, you must edit the file manually.
175
175
176
-
### Upgrading extensions
176
+
### Upgrade extensions
177
177
178
178
Review your third-party extension and module pages in Marketplace or other company sites to verify support for {{site.data.var.ee}} and {{site.data.var.ece}}. If you need to upgrade any third-party extensions and modules, we recommend working in a new Integration branch with your extensions disabled.
179
179
@@ -197,7 +197,9 @@ To verify and upgrade your extensions:
197
197
1. Push to the Staging environment to test in a pre-production environment.
198
198
199
199
We strongly recommend upgrading your Production environment _before_ including the upgraded extensions in your go-live process.
200
-
We also recommend upgrading to the latest version of the Fastly CDN module for Magento 2.
200
+
201
+
{:.bs-callout-info}
202
+
When you upgrade your Magento version, the upgrade process updates to the latest version of the [Fastly CDN module for Magento 2] automatically.
See [Magento technology stack requirements]({{ site.baseurl }}/guides/v2.3/install-gde/system-requirements-tech.html) for the latest software version requirements.
65
+
See the [{{site.data.var.ece}} service versions][version compatibility matrix] information for the latest software version requirements.
66
66
67
67
For Staging and Production environments, you use the Fastly CDN module for Magento 2 for CDN and caching services. See [Configure Fastly services]({{ site.baseurl }}/cloud/cdn/cloud-fastly.html#fastly-cdn-module-for-magento-2).
68
68
@@ -133,3 +133,6 @@ Your {{site.data.var.ee}} account must *authenticate* using any of the following
Copy file name to clipboardExpand all lines: src/guides/v2.3/ext-best-practices/tutorials/create-access-control-list-rule.md
+66-13
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ contributor_name: Ziffity
5
5
contributor_link: https://www.Ziffity.com/
6
6
---
7
7
8
-
Access Control List (ACL) rules allow an admin to limit the permissions of users in Magento. For example, you can use ACL rules to authorize the users to access menus, controllers, and API endpoints.
8
+
Access Control List (ACL) rules allow an admin to limit the permissions of users in Magento. For example, you can use ACL rules to authorize the users to access menus, controllers, API endpoints and conditionally render [layout](https://glossary.magento.com/layout)[blocks](https://glossary.magento.com/block).
9
9
10
-
In this tutorial, we are creating three custom resources (Custom Menu, Create, Delete), then creating a role that has access to these resources, and taking steps to restrict access by three entities (Admin users, controllers, and web APIs).
10
+
In this tutorial, we are creating four custom resources (Custom Menu, Create, Delete, View), then creating a role that has access to these resources, and taking steps to restrict access by four entities (Admin users, controllers, web APIs and layout block).
11
11
12
12
## Step 1. Define the custom resources
13
13
@@ -20,8 +20,11 @@ In this tutorial, we are creating three custom resources (Custom Menu, Create, D
@@ -112,7 +116,54 @@ protected function _isAllowed()
112
116
}
113
117
```
114
118
115
-
If the user doesn't have permission, the action page displays an "Access Denied" message.
119
+
If the user does not have permission, the action page displays an "Access Denied" message.
120
+
121
+
### Content restrictions for admin users
122
+
123
+
With the ACL it is also possible to [render layout blocks dynamically]({{ page.baseurl }}/frontend-dev-guide/layouts/xml-manage.html#ref_config_block) on the page.
124
+
125
+
It is enough to set the block's value for `aclResource` attribute:
The `view/adminhtml/layout/custommenu_view_index.xml` example file below contains two blocks that display information to the end-user, one of which is accessible only to users with ACL `Vendor_MyModule::view_additional` permissions.
Copy file name to clipboardExpand all lines: src/guides/v2.3/extension-dev-guide/build/module-file-structure.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Following are some common module directories:
23
23
*`etc`: contains configuration files; in particular, `module.xml`, which is required.
24
24
*`Model`: contains PHP model classes as part of MVC vertical implementation of module logic.
25
25
*`Setup`: contains classes for module database structure and data setup which are invoked when installing or upgrading.
26
-
*`ViewModel`: contains PHP model clasees as part of a model-view-viewmodel (MVVM) implementation. It allows developers to offload features and business logic from block classes into separate classes that are easier to maintain, test, and reuse.
26
+
*`ViewModel`: contains PHP model classes as part of a model-view-viewmodel (MVVM) implementation. It allows developers to offload features and business logic from block classes into separate classes that are easier to maintain, test, and reuse.
Copy file name to clipboardExpand all lines: src/guides/v2.3/graphql/develop/resolvers.md
-26
Original file line number
Diff line number
Diff line change
@@ -221,32 +221,6 @@ Syntax option | Description
221
221
`@doc(description)` | Describes the purpose of the mutation
222
222
`@deprecated(reason: "description")` | Use `@deprecated` to mark a query, mutation, or attribute as deprecated
223
223
224
-
{:.bs-callout-tip}
225
-
It is a good practice to define separate types for input and output data. This practice permits additional extension points, so every input and output type can be extended by adding additional fields to the definition.
0 commit comments