Restrict Based on Roles
Viewing 2 Posts - 1 through 2 (of 2 total)
Author | Posts |
---|---|
November 30, 2013 at 11:39 am 13063 | |
Jamie | At the moment I have wpuf pro integrated with woo commerce so that I have a front end form to add products and the admin and subscriber are able to submit. I have a custom user role that has read permissions as per the same permissions as a subscriber and it cannot see the form. I have saved the plugin settings, a subscriber can add/edit/delete products. If i change my custom user role to subscriber and then add a product and then change my role back to my custom one I am able to edit or delete the product I made but the add product form is still not accessible. What do I need to do to get the custom role capable of adding products? Also can I restrict it so only specific roles can post instead of anyone? |
November 30, 2013 at 6:36 pm 13072 | |
Mahi | how you are controlling user role permissions? Custom or any plugin? |
December 1, 2013 at 9:16 am 13091 | |
Jamie | I’m using a plugin that creates the role. It turns out that my test database was a bit broken which made it so several of my test users with the custom role were unable to see the front-end forms. After deleting these users and recreating them the forms showed up. I didn’t even think of using a plugin for restricting access, which makes complete sense. My brain was a bit broken when I typed this yesterday. Thanks. |
Viewing 2 Posts - 1 through 2 (of 2 total)