Announcement

Collapse
No announcement yet.

role's issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • role's issue

    Could you please tell me how to solve the following issue?
    There is a group that contain manager, junior manager and several salesmen.
    Manager and junior manager have the same role and can assigh tasks to another users in this group.
    If a manager has assigned a task to a junior manager, then a junior manager can delete the group and themanager stops seeing the task and his subscription disappears.
    How to make the creator always see the task in the task pool, even if the group is deleted?

    Last edited by ksv; 08-27-2020, 04:49 PM.

  • #2
    I think you should use teams.
    You need to create three different roles and propper amount of teams.
    Then assign manager only to one group, and in role settings let him see only tasks which are related only to his team(s).

    I didn't test that but it also should work with subscriptions.

    Comment


    • #3
      Sorry, it doesn't work. I've tried many options and none works.
      I need the manager to be able to assign tasks to all users in certain groups and no one could remove the group from the task.
      Attached Files

      Comment


      • #4
        Сhose this option
        PHP Code:
        ifThen(
        entity\isAttributeChanged('assignedUsersIds'),
        entity\addLinkMultipleId('assignedUsers',createdByName)); 
        does not work quite correctly! I need that if the creator is not in the list of assignedusers (linkmultiply), then add him
        Could you help me please?

        Comment


        • #5
          Hi there,

          > does not work quite correctly! I need that if the creator is not in the list of assignedusers (linkmultiply), then add him
          Could you help me please?

          You have to use creatredById instead of createdByName in the entity\addLinkMultipleId function.

          Comment

          Working...
          X