Skip to content

Commit

Permalink
fix: more assets
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Jan 7, 2025
1 parent 89cd54d commit 32f80ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ TypeScript declarations are available from Shopware Version 6.4.4.0

The Shopware Administration is written in pure JavaScript. To provide you with the benefits of TypeScript and the best possible developer experience while working in JavaScript files we're providing TypeScript declaration files within the Administration. These files are helping you to understand how the Shopware object works and what arguments you have to provide for example when you're creating a new module or registering a new component.

![TypeScript declarations example](../../../../assets/typescript-declaration-shopware-module.gif)
![TypeScript declarations example](../../../../../assets/typescript-declaration-shopware-module.gif)

In the example above you can see how the TypeScript declarations are helping you to register a module. It automatically marks your code and points out what is missing.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ A distinction is made here between normal `permissions` and `additional_permissi

### Normal permissions

![Permissions GUI](../../../../assets/permissions-gui.png)
![Permissions GUI](../../../../../assets/permissions-gui.png)

`permissions`:

Expand All @@ -61,7 +61,7 @@ For each admin privilege, the needed entity privileges need to be assigned. Depe

In addition to the normal `permissions`, which represent CRUD functionality, there are also `additional_permissions`. These are intended for all functions that cannot be represented by CRUD.

![Additional permissions GUI](../../../../assets/additionalPermissions-gui.png)
![Additional permissions GUI](../../../../../assets/additionalPermissions-gui.png)

The `additional_permissions` have their own card below the normal permissions grid. An example for `additional_permissions` would be: "clearing the cache". This is an individual action without CRUD functionalities. The key is still used for grouping. Therefore the role can be individual and does not have to follow the scheme.

Expand Down

0 comments on commit 32f80ee

Please sign in to comment.