Access is a WordPress plugin that lets you add custom roles and control their privileges.
Access User Guides include detailed documentation for controlling what actions different roles and users can do on content and what WordPress admin screens users can access.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 316 through 330 (of 349 total)
I'm trying/wondering if it's possible with toolset to create a membership type site where a member will be added to a specific "group" upon registration (can be done manually if necessary)...and that group can view that group's single page only
Problem: I would like to restrict access to posts using Toolset Access and a custom field on each post that stores a numeric User ID. The User whose ID is stored in the custom field should have access to the post, but no one else should. This doesn't seem to be working as expected.
Solution: The "own" or ownership referred to in Access can only be defined as the post author, not a custom field value or any other association type. In other words, the post's author is the only owner of a post, as far as Access is concerned. If you'd like to use this Access feature to limit or allow editing of "own" posts, you must set each User as the author of their own post(s).
To restrict access to editing posts with Forms, you must use the Toolset Forms tab in Toolset > Access Control to modify the access settings per Form.
Problem: I would like to create a conditional that tests whether or not the current logged-in User has a specific capability.
Solution: Use the built-in WordPress function current_user_can to check for any individual capability. You must register current_user_can in Toolset > Settings > Front-end Content > Functions inside conditional evaluations, then you can do something like this:
[wpv-conditional if="(current_user_can('access_s2member_ccap_4792') eq 1)"]
current user has capability access_s2member_ccap_4792
[/wpv-conditional]
[wpv-conditional if="(current_user_can('access_s2member_ccap_4792') ne 1)"]
current user does not have capability access_s2member_ccap_4792
[/wpv-conditional]