This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreadme.txt
97 lines (63 loc) · 2.82 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
=== Secure Blocks for Gutenberg ===
Contributors: mwtsn
Tags: gutenberg, block, secure, password, protected, blocks, gutenberg blocks, gutenberg block, editor, addon, add on, add-on, gutenberg addon, wordpress 5, passworded, login, logged-in
Requires at least: 5.0
Tested up to: 5.0
Requires PHP: 5.6
Stable tag: 1.4.3
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Secure your content in the editor by user role with Secure Blocks for Gutenberg
== Description ==
Secure your content in the editor by user role with Secure Blocks for Gutenberg.
Using Secure Blocks you can add any Gutenberg block inside a secure block, have it render only to logged in users, or lock it down to a user role of your choosing.
Secure Blocks also provides an additional area that can display blocks to users that do not have permission to view the content.
For more information [read the Secure Blocks introductory blog post](https://mattwatson.codes/introducing-secure-blocks-for-wordpress-gutenberg/), or view the video:
[youtube https://youtu.be/fXGPeWo_nzg]
The plugin provides the following functionality:
- Display content only to logged-users
- Display alternative content to logged-out users
- Display content to users within certain user roles
- Display alternative content to users not in those user roles
== Installation ==
1. Backup your WordPress install
2. Upload the plugin folder to the `/wp-content/plugins/` directory
3. Activate the plugin through the 'Plugins' menu in WordPress
= Minimum Requirements =
You’ll need the **Gutenberg** editor active on your site.
== Frequently Asked Questions ==
TBC
== Screenshots ==
1. Standard Gutenberg Content
2. Adding the Secure Block
3. What you first see when you add the Secure Block
4. Add any blocks to the Secure Block
5. Viewing the site when logged-in
6. Viewing the site when logged-out
7. Using the Inspector to select roles to lock the content down further
8. Locking down to certain user roles
9. The Secure Block interface reflects the user roles you choose
10. Adding content which is locked down by user role.
11. You are not restricted to the kind of block you can secure
12. A full screen image is not limited by the bounds of the Secure Block
== Changelog ==
= 1.0.0 =
* First release
= 1.1.0 =
* Fixed issue whereby the plugin would not render in certain server environments
= 1.1.1 =
* Removed frontend asset enqueues that didn't do anything.
= 1.2.0 =
* Fixed issue that prevented blocks saving properly in some scenarios.
= 1.3.0 =
* Replaced `withAPIData` with `withSelect` due to depreciation in core.
= 1.4.0 =
* Updated `withSelect` to use latest API.
= 1.4.3 =
* Bug fixes and refactor.
== Roadmap ==
Features coming soon to aid with securing sites:
- Login Block
- Register Block
- Password Reset Block
- Restrict entire pages / posts, not just inline content