• Resolved hyperart

    (@hyperart)


    How can one configure it so that a user can only view their assigned projects/tasks but not complete them? When I assigned only the “View Assigned Tasks” permissions, the checkboxes would still be active on the task list, even though if they click through to the task page, they are not able to edit the task there.

    Thanks in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi hyperart

    goto project manager seting
    got0 general setting

    in the user Abilities (frontend user)
    I selected “Task Page” ; ” View Assigned Tasks”

    Then Under the Frontend user
    there is an option:
    “Who can complete Task”
    I set this to “?dmin and managers”

    Save the Setting
    the user should only be able to view the Tasks and not change anything

    Regards

    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…

    You can have the Frontend user with the (task Page ; view assigned task) abilities
    you can let the second user be Zepher User with ( task page ; edit assigned task) ability.
    The front end user will only view the task
    the Zepher user will be able to edit the task

    and the manager can complete the task

    I let the user change the status of a task – but only the manager can complete a task.

    can you please indicate which checkboxes disappear?

    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!

    Plugin Author Dylan James

    (@dylanjkotze)

    Hi @hyperart,

    My apologies for the delay in response, and thanks for the help @vanwyklm.

    Regarding the questions, as the setting ‘Who can complete tasks’ is set to ‘Only Administrators & Managers’, the checkboxes will only show to admin and manager roles.

    So just to confirm, would you like it to instead show checkboxes if the user has the ability to ‘Edit’ the task? I have made this change now and sent it via email to confirm if it is correct and will then release the update live.

    I hope this helps.

    Kindest regards,
    Dylan

    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

    Plugin Author Dylan James

    (@dylanjkotze)

    Hi,

    Glad to hear that you were able to find a solution.

    In addition to the changes added I will add the ‘Complete Assigned Tasks’ permission to the permission settings for the next version as well.

    Thanks for the feedback on this.

    Kindest regards,
    Dylan

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘View tasks only but not edit’ is closed to new replies.