How to use it
- Select the element and open its Conditions.
- Add the condition User can from the Kiln group.
- Choose has capability or lacks capability.
- Type the capability name, for example
edit_posts.
A capability from a membership plugin or another plugin works the same way. Type its name as that plugin documents it.
Limits
- Use primitive capabilities, such as
edit_postsormanage_options. A capability that needs an object ID, such asedit_post, is not supported. - A name can hold letters, digits, underscores and hyphens. Anything else, or an empty field, makes the condition false.
- A visitor who is logged out has no capabilities. lacks capability is true for them.
- The field takes a plain name. It does not render dynamic data.
Settings
None. Turn the module on in Bricks > Kiln (it is on by default).
Requirements
Bricks 2.4 or newer.