@sanity/preview-url-secret
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -9,2 +9,9 @@ <!-- markdownlint-disable --><!-- textlint-disable --> | ||
## [2.0.2](https://github.com/sanity-io/visual-editing/compare/preview-url-secret-v2.0.1...preview-url-secret-v2.0.2) (2024-11-07) | ||
### Bug Fixes | ||
* **docs:** update img tags to markdown format ([cd9706d](https://github.com/sanity-io/visual-editing/commit/cd9706d7799326968fd3ae74c6dace712a116e4f)) | ||
## [2.0.1](https://github.com/sanity-io/visual-editing/compare/preview-url-secret-v2.0.0...preview-url-secret-v2.0.1) (2024-11-06) | ||
@@ -11,0 +18,0 @@ |
{ | ||
"name": "@sanity/preview-url-secret", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"homepage": "https://github.com/sanity-io/visual-editing/tree/main/packages/preview-url-secret#readme", | ||
@@ -122,4 +122,4 @@ "bugs": { | ||
"vitest": "^2.1.4", | ||
"@repo/eslint-config": "0.0.0", | ||
"@repo/package.config": "0.0.0", | ||
"@repo/eslint-config": "0.0.0", | ||
"@repo/prettier-config": "0.0.0" | ||
@@ -126,0 +126,0 @@ }, |
@@ -70,4 +70,5 @@ # @sanity/preview-url-secret | ||
When preview sharing is enabled, Presentation Tool will show a "Share" menu: | ||
<img width="688" alt="image" src="https://github.com/user-attachments/assets/186bdd20-cad3-44c7-948a-f23aabf7ef6a"> | ||
![Example preview sharing QR code](https://github.com/user-attachments/assets/186bdd20-cad3-44c7-948a-f23aabf7ef6a) | ||
### Control who has access to a shared preview | ||
@@ -92,4 +93,5 @@ | ||
With everything setup correctly, users assigned to this role should see the following when attempting to use the "Share" menu: | ||
<img width="418" alt="image" src="https://github.com/user-attachments/assets/9e748f49-4f82-453c-bd83-cae6e86302f2"> | ||
![An alert shows an improper permission warning](https://github.com/user-attachments/assets/9e748f49-4f82-453c-bd83-cae6e86302f2) | ||
If you're still able to see the QR code with the new role assigned, make sure you're not assigned to "Viewer" or other roles that may be granting access to "All documents: Read". | ||
@@ -101,4 +103,5 @@ | ||
If anyone without permission attempts to toggle it they'll see a message like this: | ||
<img width="399" alt="image" src="https://github.com/user-attachments/assets/798c9c32-88ac-40ba-9111-2ef4e8fc9a2b"> | ||
![An alert shows an improper toggle permission warning](https://github.com/user-attachments/assets/798c9c32-88ac-40ba-9111-2ef4e8fc9a2b) | ||
Enterprise customers can customize this in the following way: | ||
@@ -105,0 +108,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
161390
349