Hi Bob,
We haven’t updated capabilities settings for each user role. I’d like to see this in version 1.4, but there’s already a bunch of features on the milestone, and that may or may not make the cut.
Thread Starter
rwilki
(@rwilki)
Thanks for your reply Eric. I really like the simplicity and cleanness of this plugin. I understand you might not get to updating the role capabilities for a while.
Is there some code that I can edit on the core.php or other file that will just hide the “edit and delete” links when the projects are being viewed by shortcode?
I’m thinking maybe even finding the CSS and using display:none for the time being. I just don’t want the end-user having the ability to be able to edit anything.
Thanks,
Bob
You could wrap the links in a current_user_can( 'manage_options' )
check in the template files under includes/templates/collabpress/, however that may give you javascript errors when the elements aren’t found when the jQuery is run.
Hey Bob,
I just want to back you up on your need. I love the functionality of Collabpress but I am nervous about the fact that everyone with access can delete everything whether or not it pertains to them. My only option was granting open access to everyone so they could see the tasks (but without logging in) but that will soon be cumbersome when I have to manage everyone’s tasks on the back end. Was wrapping “current_user_can( ‘manage_options’ )” helpful. I’m not a programmer but pretty good at figuring stuff out if I’m set in the right direction.
Hi Bob,
I use a plug in called Capability Manager Enhanced which allows me to set my user capabilities.
Let me know if that helped.
Hi Bob,
I use a plug in called Capability Manager Enhanced which allows me to set my user capabilities. Search for it in your plug in search box
Let me know if that helped.
Thread Starter
rwilki
(@rwilki)
Thanks for your help. I’m no longer using this plugin. But @gotocoach I will try your suggestion. Sounds promising!
Thanks,
Bob
You’re welcome Bob, did you find something that you liked better?
Thread Starter
rwilki
(@rwilki)
no turns out I just don’t need it anymore. it was for a customer and they’re tracking items in another way. thanks!