Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hyperart

    (@hyperart)

    Nevermind, found the missing link in core-frontend.js in the pro module.

    Thread Starter hyperart

    (@hyperart)

    Hi Dylan,

    Thanks for your reply. I think I figured out a solution that works for me. What I actually ended up doing was I added a new perm “complete_assigned_tasks” via the zpm_caps hook, and then added a callback to the zpm_can_complete_task hook to check for that new perm for the “Only Assigned Users” cap.

    I think this more granular setting works well, where I want some users to be able to complete an assigned task via the checkboxes, but not allow them to modify the whole task; and then some users can only view assigned tasks.

    What you have suggested with showing checkboxes for “Edit” permissions is also useful and I think makes sense to have as well.

    -K

    Thread Starter hyperart

    (@hyperart)

    I have
    – Role 1 (with permissions View Assigned Task, Tasks Page)
    – Role 2 (with permissions Edit Assigned Tasks, View Assigned Tasks, Tasks Page)
    – Who can complete tasks: “Only Administrators & Managers”

    When it is set that way, neither users with Role 1 nor Role 2 can view the checkboxes on the frontend task list (even though Role 2 can edit the task manually and set the status to Complete). Is there any way to enable checkboxes for Role 2 and not 1?

    I feel like there are some behaviors from the permission settings that have odd or undocumented results, I’m currently struggling to find the right mix of settings to enable the right views for the right type of users. Any further help would be appreciated!

    Thread Starter hyperart

    (@hyperart)

    Thank you. However, I still want a different user role to be able to edit their assigned tasks though. If I change the setting there, and then add the permission “Edit assigned tasks” to that role, the checkboxes seem to disappear…

    Hello @dylanjkotze , is there any chance you can share that experimental plugin with me as well? I am look for the very same thing and having it as a base or reference would be awesome. Thank you in advance!

Viewing 5 replies - 1 through 5 (of 5 total)