Skip to content

Commit 82f9c83

Browse files
committed
chore: copilot review comments
1 parent aefa6c5 commit 82f9c83

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

products/paas/shopware-paas/account.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ The available roles depend on the scope:
3131
* **Project:** `read-only`, `developer`, `admin`
3232
* **Application:** `read-only`, `developer`, `admin`
3333

34+
In the sections below, the organization role `account-admin` is referred to as Account Admin.
35+
3436
### Access inheritance
3537

3638
Access is rooted at the organization level.
@@ -40,7 +42,7 @@ To do anything in Shopware PaaS, a user must first be a member of the organizati
4042
The inheritance model works from broader scope to narrower scope:
4143

4244
* an organization membership is the baseline for any further access
43-
* an organization admin can also manage project- and application-level access within that organization
45+
* an Account Admin can also manage project- and application-level access within that organization
4446
* a project admin also has the effective permissions needed at application level within that project
4547

4648
This means access becomes more specific as you move from organization to project to application, but it always starts with the organization.
@@ -75,8 +77,8 @@ Human users are managed through `account user`. These commands are used to inspe
7577

7678
In practice, there are two common ways to grant human access:
7779

78-
* **Direct grant:** an existing account admin grants a membership directly with `sw-paas account user add`
79-
* **Access request:** a user requests access themselves with `sw-paas account user request`, and an organization admin later approves or denies that request
80+
* **Direct grant:** an existing Account Admin grants a membership directly with `sw-paas account user add`
81+
* **Access request:** a user requests access themselves with `sw-paas account user request`, and an Account Admin later approves or denies that request
8082

8183
The direct grant flow is useful when an admin already knows which user should get which role. The request flow is useful when users need to ask for access to an organization, project, or application on their own.
8284

@@ -139,7 +141,7 @@ This is the usual flow:
139141

140142
1. A user creates a request for organization-, project-, or application-level access.
141143
2. The request stays in `pending` state until it is reviewed.
142-
3. An organization admin approves or denies the request.
144+
3. An Account Admin approves or denies the request.
143145
4. If approved, the membership is created with the requested role.
144146
5. If denied, no membership is created.
145147

@@ -157,13 +159,13 @@ List your own requests:
157159
sw-paas account user requests list
158160
```
159161

160-
Organization admins can list requests for an organization with:
162+
Account Admins can list requests for an organization with:
161163

162164
```sh
163165
sw-paas account user requests list --admin --organization-id <organization-id>
164166
```
165167

166-
Organization admins can then approve or deny a pending request:
168+
Account Admins can then approve or deny a pending request:
167169

168170
```sh
169171
sw-paas account user requests resolve

products/paas/shopware-paas/cli-setup.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ The PaaS CLI is your tool to connect with your PaaS environment, push changes, t
1414
To install PaaS CLI, run the following command:
1515

1616
```sh
17-
curl -sfS https://cli.shopware.com/installer | php
17+
curl -L https://install.sw-paas-cli.shopware.systems | sh
1818
```
1919

20-
When you run the PaaS CLI for the first time, it will ask you to log in via your browser.
20+
This installs the `sw-paas` binary and adds it to your `PATH` if needed.
2121

2222
You can also generate an SSH key manually and add it in the **My profile > SSH Keys** section of your [PaaS Console](https://console.shopware.com/).
2323

@@ -42,7 +42,9 @@ After authentication, you can inspect your current access and manage users or se
4242
See [Account](account) for:
4343

4444
* `sw-paas account whoami`
45-
* `sw-paas account context`
45+
* `sw-paas account context show`
46+
* `sw-paas account context set`
47+
* `sw-paas account context delete`
4648
* user memberships on organization, project, and application level
4749
* membership requests and approvals
4850
* service accounts, grants, and tokens

products/paas/shopware-paas/index.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,9 @@ git add .
6565
git commit -am "initial commit"
6666
```
6767

68-
7.) Configure the PaaS CLI with your project_id
68+
7.) Configure the Git remote for your project_id
6969

70-
```sh
71-
shopware project:set-remote PROJECT_ID
72-
```
73-
74-
Where PROJECT_ID is the project_id of your empty project.
70+
Follow the [repository setup guide](repository) to connect your local Git repository to your empty Shopware PaaS project.
7571

7672
8.) Push the code to Shopware PaaS
7773

@@ -84,7 +80,7 @@ git push shopware
8480
The sub-pages describe a more detailed step-by-step guide that you can follow to set up your PaaS project.
8581

8682
First, make sure your [PaaS CLI is set up correctly](cli-setup).
87-
Once you can authenticate with the CLI, review [account](account) to inspect your own access, manage user memberships, and configure service accounts for automation.
83+
Once you can authenticate with the CLI, review [Account](account) to inspect your own access, manage user memberships, and configure service accounts for automation.
8884
Once your PaaS CLI is up and running, it is time to [set up your project repository](repository).
8985

9086
When your repository is set up correctly, you are ready to [push and deploy your project](build-deploy) to the PaaS environment.

0 commit comments

Comments
 (0)