General

1568809353819-225.png

  1. everyone see, permission are on buttons in pop-up (see Rights pop-up lower)
  2. UPDATE_ACTIVITY (on hovered tree item if it is an activity) or
    UPDATE_ACTIVITY_SET (a folder)
  3. (DELETE_ACTIVITY (on hovered activityitem and parent too)
    DELETE_ACTIVITY_SET (on hovered folder item and parent too))
    (Block and Complex Block have more options, see Block and Comlex Block specifics lower.
    related asanaId: 
    1140430424032189)
  4. not resolved in backend yet (AsanaId: 1140430424032185)
    frontend offers all possible destinations

    needed permissions to show this:
    (UPDATE_ACTIVITY (on hovered activity item) or
    UPDATE_ACTIVITY_SET (on hovered folder item) and one of following
    (DELETE_ACTIVITY_SET (if the parent is folder)
    DELETE_ACTIVITY (parent is block or complex block))
    note: for the button we solve only starting permissions. Perms on target should be solved by side-panel filter.
    related asanaId: 1140430424032189
  5. same as 2.
  6. same as 4.
  7. nothing (solved inside)
  8. nothing
  9. menu, items inside as result of n. 4-6

Block and Complex Block specifics

1568805526145-849.png

  1. CREATE_ACTIVITY (on block)
    There is unable to create activity_set comparing to folder.
  2. nothing
  3. UPDATE_ACTIVITY
  4. DELETE_ACTIVITY
  5. same as nums. 2-4
  6. UPDATE_ACTIVITY
  7. CREATE_ACTIVITY (on selected block)

Folder (Activity Folder and Evaluation Folder) specifics

1568812097154-280.png

  1. CREATE_FOLDER_ACTIVITY_SET (on hovered tree item)
  2. CREATE_ACTIVITY (on hovered tree item)
  3. same as in general
  4. same as in general
  5. same as in general
  6. same as num 3-5
  7. CREATE_FOLDER_ACTIVITY_SET or CREATE_ACTIVITY (on active folder)
  8. same as in general n. 4
  9. same as in general n. 5
  10. same as in general n. 6
  11. nothing

Rights pop-up

1568813443923-737.png

All the actions are on given folder. Other objects are in brackets.

  1. CREATE_USER_ACTIVITY (if the active item is an activity)
    CREATE_USER_ACTIVITY_SET (users are filtered by side-panel)
  2. EDIT_USET_ACTIVITY
    EDIT_USER_ACTIVITY_SET (on corresponding user, available roles are filtered)
  3. CREATE_USERGROUP_ACTIVITY or
    CREATE_USERGROUP_ACTIVITY_SET  (groups are filtered by side-panel)
  4. EDIT_USERGROUP_ACTIVITY or
    EDIT_USERGROUP_ACTIVITY_SET (on corresponding group, available roles are filtered)
  5. UPDATE_USERGROUP_ACTIVITY or
    UPDATE_USER_ACTIVITY_SET
    DELETE_USER_ACTIVITY or
    DELETE_USER_ACTIVITY_SET if the last role is to be deleted
  6. UPDATE_USERGROUP_ACTIVITY_SET, DELETE_USERGROUP_ACTIVITY_SET in same way as n. 5

to test: Can admin unlink from a user such role which is out of the admin's rights? AsanaId: 1140430424032186

note: "Hotovo" buttons should alternate with "Cancel" for viewing users. AsanaId: 1140430424032188

Sidebar (move item)

1569014722851-663.png

1,2. UPDATE_FOLDER_ACTIVITY_SET (on possible target folders)
AsanaId: 1140949896544531

Tags:
Created by Josef Vencl on 2020/10/15 09:36