-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update publishing docs: add new images and update starting pattern guide #456
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good job. |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good. In the future, let's avoid nondescript examples like "publish test", but instead give the user concrete examples with populate fields, so that the concept is less abstract and more easily digested. |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will you consider relocating this page. Publishing of a design that a user has created is not considered a starter task. There is a placeholder under "tutorials" on this topic, but that is not the best location considering the content of this doc. When we have an outline in a collaborative document, we can refine structure. |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,37 +1,128 @@ | ||||||
--- | ||||||
title: Starting from a published design | ||||||
description: > | ||||||
Published designs are available from the Layer5 Cloud catalog. Published designs are a collection of curated, reusable solutions to the most common problems in cloud and cloud native infrastructure management. | ||||||
title: Publishing and Managing Designs | ||||||
description: Learn to publish, manage, and work with designs in Meshery with clear state transitions, role-based permissions, and common workflow FAQs. | ||||||
weight: 3 | ||||||
categories: [Designer] | ||||||
tags: [designs] | ||||||
tags: [designs, publishing] | ||||||
aliases: | ||||||
- /meshmap/getting-started/starting-pattern | ||||||
--- | ||||||
|
||||||
Starting from a published design is a quick way to get started with a popular stack or solution. | ||||||
Publishing a design makes it visible to all Meshery Cloud users and anonymous visitors. This guide explains the publishing workflow, state management, permissions, and operational constraints. | ||||||
|
||||||
## Exploring the Design Catalog | ||||||
## Publishing Workflow | ||||||
|
||||||
For your convenience, the design catalog can be accessed from three locations: | ||||||
### Step 1: Access Extensions UI | ||||||
Navigate to Meshery [Kanvas Designer](https://playground.meshery.io/extension/meshmap) from the main dashboard. | ||||||
|
||||||
1. From the *Catalog* tab in _Kanvas Designer_. | ||||||
 | ||||||
### Step 2: Select Design in Sidebar | ||||||
Find designs through two methods. Click the **info ("i")** button for details. | ||||||
|
||||||
2. From the _Layer5 Cloud_ catalog page at [Layer5 Cloud Catalog](https://cloud.layer5.io/catalog). | ||||||
 | ||||||
- **Option 1:** View designs in the sidebar | ||||||
 | ||||||
|
||||||
3. From the Meshery Catalog page at [Meshery Catalog](https://meshery.io/catalog). | ||||||
 | ||||||
- **Option 2:** Go to Configuration → Designs | ||||||
 | ||||||
|
||||||
### Step 3: Submit Design Metadata | ||||||
Fill out the publication form: | ||||||
|
||||||
- **Type:** Select design category | ||||||
- **Technology:** Specify related technology | ||||||
- **Description:** Explain purpose and usage | ||||||
- **Caveats:** Add important considerations | ||||||
|
||||||
 | ||||||
|
||||||
### Step 4: Review Process | ||||||
Approval workflow based on user role: | ||||||
- **Admin submissions:** Published immediately | ||||||
- **User submissions:** Enter "Pending Review" | ||||||
|
||||||
Regardless of approval or rejection, submitters will receive an email notification with the decision. | ||||||
|
||||||
 | ||||||
|
||||||
### Step 5: Post-Approval Status | ||||||
Once the review process is complete, you will receive an email notification informing you of the decision. | ||||||
|
||||||
- If your design is approved: | ||||||
- It will no longer appear in "My Designs." | ||||||
- Instead, it will be listed in the **[Catalog](https://cloud.layer5.io/catalog)** as a publicly available entry. | ||||||
- This ensures that published designs remain accessible to all users while keeping personal design spaces uncluttered. | ||||||
|
||||||
- If your design is rejected: | ||||||
- You will receive an email notification with a rejection reason. | ||||||
- Rejected designs **cannot be resubmitted** directly. | ||||||
- If you want to revise and submit it again, you must clone the design, make changes, and submit it as a new entry. | ||||||
|
||||||
## Cloning a Design | ||||||
To modify published designs: | ||||||
|
||||||
1. Select design from [Catalog](https://cloud.layer5.io/catalog) | ||||||
2. Click **Clone** to create editable copy | ||||||
3. Make changes and submit as new version | ||||||
|
||||||
## State Management | ||||||
|
||||||
### 1. Design State Lifecycle | ||||||
A design transitions through multiple states from creation to publication. The diagram below visually represents this process. | ||||||
|
||||||
 | ||||||
|
||||||
#### State Transitions Overview | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "State Transition" is good phrasing for contributors, but not so much for users. "Phases of Publishing Process" or something similar might help user comprehension. |
||||||
- **Pre-Publish:** Users freely create and edit designs. | ||||||
- **Pending Review:** Submitted designs undergo an approval process. | ||||||
- **Published:** Approved designs are locked and listed publicly. | ||||||
- **Withdrawn:** Unpublished designs return to private storage. | ||||||
|
||||||
### 2. Design State Characteristics | ||||||
|
||||||
| **State Stage** | **Visibility** | **Operability** | **Key Restrictions** | | ||||||
|--------------------|----------------------------------|------------------------------------------------|--------------------------------------------------------------------| | ||||||
| **Pre-Publish** | Sidebar Design List & Configuration → Designs | Free edit/delete/rename (editable by anyone) | No restrictions | | ||||||
| **Pending Review** | Sidebar Design List & Configuration → Designs | Editable by all users (including guests) | Deleting during this stage creates dead entries in the approval list | | ||||||
| **Published** | Category List (hidden in sidebar) | View-only copies (auto-appended "_copy") | Original design permanently locked (edit in category only updates metadata) | | ||||||
| **Withdrawn** | Returns to sidebar as private | Free edit/delete/rename | Original cannot be republished; must create a new canvas with identical content | | ||||||
|
||||||
**Critical Rules:** | ||||||
- Withdrawn designs require re-submission as new entries. | ||||||
- Published designs are immutable. | ||||||
|
||||||
### 3. Permission Controls | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
| **Operation** | **Creator** | **Organization Admin** | **Provider Admin** | **Regular User** | **Guest** | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Change the column order to go from least privileged to most privileged. Use only roles that are published in https://docs.layer5.io/cloud/security/roles/. Potentially, include a tip that points to these roles and the default permissions reference - https://docs.layer5.io/cloud/reference/default-permissions/ |
||||||
|---------------------|--------------------|------------------------|--------------------|------------------|-------------------------| | ||||||
| Edit Pending Design | ✔ | ✔ | ✔ | ✔ | ✔ | | ||||||
| Unpublish | ✘ | ✔ | ✔ | ✘ | ✘ | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please confirm that each of these operations corresponds to a permission key (sourced from the Meshery Cloud API Endpoints spreadsheet) |
||||||
|
||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are we missing "Submit for Review" as an operation? |
||||||
**Key Notes:** | ||||||
- Provider Admins have root-level visibility and can see private designs from all organizations. | ||||||
- Catalog approval queues are org-specific—only members of an organization can see its pending approvals, unless the user is a Provider Admin. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Org Admins are able to review (approve/deny requests) for designs submitted for review within their organization, right? Cloud fully supports Organization-specific catalog publishing queues, right? |
||||||
- The "Unpublish" button is visible to all users except Guests. However, only Admins can successfully execute the action. For all other users, clicking the button will result in an error message indicating insufficient permissions. | ||||||
- Admins and Provider Admins bypass all state restrictions. | ||||||
|
||||||
## FAQ | ||||||
|
||||||
### 1. When my design is in "Pending Review," can I still edit it? Will the changes take effect? | ||||||
Yes, you can edit your design while it is in the "Pending Review" state, and any modifications will be automatically reflected in the submitted design. No need to resubmit the request. | ||||||
|
||||||
### 2. After my design is approved and published, can I modify it? Will the category be updated? | ||||||
No, once a design is **published**, it becomes **immutable**. You cannot directly edit or modify the contents. The category and metadata remain locked to ensure version consistency. However, you can create a new version by cloning the design and making modifications. | ||||||
|
||||||
To start from a design, select and create a [clone of the design](/kanvas/tasks/designs/cloning-a-design). If you are on the Kanvas design page, click on the chosen design from the **Catalog** tab. This will present a popup to clone the design, click **Clone** to begin. | ||||||
### 3. After my design is published, can I modify the category field? | ||||||
No, the category field **cannot be changed** after the design is published. If a category update is required, you must clone the design, update the category, and submit it as a new entry. | ||||||
|
||||||
 | ||||||
### 4. If my design is denied (rejected), can I submit it again? | ||||||
No, once a design is denied, it **cannot be resubmitted**. However, you can clone the design, make adjustments, and submit it as a new entry for review. | ||||||
|
||||||
This will create a copy of the catalog item to a new design, now owned by you. | ||||||
### 5. Can I unpublish a design after it has been published? | ||||||
Only Admins and Provider Admins have the ability to unpublish a design, Regular users, creators, and guests cannot unpublish a design. If you need to remove a published design, contact an Admin or Provider Admin to request unpublishing. | ||||||
|
||||||
 | ||||||
### 6. What is the difference between Public, Private, and Published? | ||||||
|
||||||
You are now free to deploy it as it is or modify it further. | ||||||
| **State** | **Visibility** | **Editability** | **Notes** | | ||||||
|-------------|---------------|----------------|-----------| | ||||||
| **Public** | Visible to all Meshery Cloud users | Fully editable | Available for all users to access | | ||||||
| **Private** | Only visible to the owner and organization members | Fully editable | Used for drafts and internal work | | ||||||
| **Published** | Approved and locked for public access | Cannot be modified | Ensures design consistency and prevents unauthorized edits | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.