Forum Discussion
User Role Permission based on attribute hierarchy
Hi alanderfield, thanks so much for your help! Sorry but I seem to have lost you a little there.
Please see below if my understanding of your explantation is correct-
Using Employee A as an employee - he works in the HR division (dept hierarchy level 1) and Recruitment department (dept hierarchy level 2)
Let's say I create a new role with access using 'department hierarchy' and I add him in...
(a) Will be receive data based on his level 1 department hierarchy tag (aka the HR data)
or
(b) he will not receive any data in this case (can you then explain what does providing access with "hierarchy" actually do?)
So in the case where I want employee A to receive the data to the entire HR division, then what I should do is the following-
step 1: create an additional "Department head" attribute and mark him as "Yes"
step 2: create a custom user role and include all employees marked yes under "Department head" and in the "HR" division
Hope this is clear! Thanks again!
- alanderfieldMay 27, 2024
Microsoft
Hello Jing_Ying_Choon,
Viva Glint's Hierarchy reporting will give the user access to all users within the hierarchy they permissioned for within the user role. The user file will determine what values the user will see and have access to for each level of the hierarchy. In the below example, the user would have access to any users under the Subfunction of "User Support" as it sits within the above levels. In your example, if the user has access to "HR" Department (Level 2) then they would see all "HR".
- Departmental Level 1 – Company (ex: Thrive)
- Departmental Level 2 – Department (ex: IT)
- Departmental Level 3 – Function (ex: Operations)
- Departmental Level 4 – Subfunction (ex: User Support)
In your scenario for "HR" it may be more efficient to create a standalone (non-hierarchy) attribute that calls out all the departments. "HR" could be one of values, and if your user has "HR" on the user file under the "Department" attribute, then they would see all additional users that have "HR" listed. This same attribute could be used for additional departments such as "IT". Let me know if this makes sense, otherwise I am happy to walk through this on our next office hours if you are able to join. The below public link may also provide some guidance that you can reference as you look into setting up hierarchies.
Viva Glint organizational hierarchy fundamentals | Microsoft Learn
- Jing_Ying_ChoonMay 27, 2024Copper ContributorHi alanderfield,
Thanks this is clear!
So whichever hierarchy level the employee is tagged to, he/she will receive data of all employees belonging to the same level (should hierarchy reporting is turned on for him/her). Thanks again!