Tree (activity, evaluation)
Last modified by Josef Vencl on 2020/10/15 09:36
- General
- Block and Complex Block specifics
- Folder (Activity Folder and Evaluation Folder) specifics
- Rights pop-up
- Sidebar (move item)
General
- everyone see, permission are on buttons in pop-up (see Rights pop-up lower)
- UPDATE_ACTIVITY (on hovered tree item if it is an activity) or
UPDATE_ACTIVITY_SET (a folder) - (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) - 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 - same as 2.
- same as 4.
- nothing (solved inside)
- nothing
- menu, items inside as result of n. 4-6
Block and Complex Block specifics
- CREATE_ACTIVITY (on block)
There is unable to create activity_set comparing to folder. - nothing
- UPDATE_ACTIVITY
- DELETE_ACTIVITY
- same as nums. 2-4
- UPDATE_ACTIVITY
- CREATE_ACTIVITY (on selected block)
Folder (Activity Folder and Evaluation Folder) specifics
- CREATE_FOLDER_ACTIVITY_SET (on hovered tree item)
- CREATE_ACTIVITY (on hovered tree item)
- same as in general
- same as in general
- same as in general
- same as num 3-5
- CREATE_FOLDER_ACTIVITY_SET or CREATE_ACTIVITY (on active folder)
- same as in general n. 4
- same as in general n. 5
- same as in general n. 6
- nothing
Rights pop-up
All the actions are on given folder. Other objects are in brackets.
- CREATE_USER_ACTIVITY (if the active item is an activity)
CREATE_USER_ACTIVITY_SET (users are filtered by side-panel) - EDIT_USET_ACTIVITY
EDIT_USER_ACTIVITY_SET (on corresponding user, available roles are filtered) - CREATE_USERGROUP_ACTIVITY or
CREATE_USERGROUP_ACTIVITY_SET (groups are filtered by side-panel) - EDIT_USERGROUP_ACTIVITY or
EDIT_USERGROUP_ACTIVITY_SET (on corresponding group, available roles are filtered) - UPDATE_USERGROUP_ACTIVITY or
UPDATE_USER_ACTIVITY_SET
DELETE_USER_ACTIVITY or
DELETE_USER_ACTIVITY_SET if the last role is to be deleted - 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)
1,2. UPDATE_FOLDER_ACTIVITY_SET (on possible target folders)
AsanaId: 1140949896544531