cancel
Showing results for 
Search instead for 
Did you mean: 

Navigation IViews

Former Member
0 Kudos

Hi All,

I have a scenario in my project.

I have users divided on the basis of Regions, each Region have 5 folders. So I have created 5 navigation Iviews to point to each folder. Similarly there are 20 Regions (containing 5 folders each).

The user from Region1 should not see the files uploaded from the users belonging to Region2 and soon.(So i have created separate folder structure for each Region in KM reposatory).

Now do I have to create 20 Regions x 5 folders = 100 Navigation Iviews in this case or is there any alternative ?

Please guide me on this.

Thanks in Advance,

Pavan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear Pavan,

if I get you right, then you do not need to write any code to do that. The navigation iView checks the permissions when it displays a folderstructure and filters out the folders you are not allowed to see (unless you are a superadmin, see last line of this post). So in the example of Raghu and Lorcan the users will only see the folders they have permission for.

e.g. from Raghu and Loran:

You point the navigation iView to the path /documents

You have the user groups: Region 1, Region 2, Region 3

Folder structure below /documents is: /documents/Folder1, /documents/Folder2, /documents/Folder3

On Folder1 the group Region 1 has Permission and on Folder2 the Region 2 and so forth.

When logging on with a user belonging to Region 1, the user will only see the path /documents/Folder 1 in the Navigation iView.

To make sure that works, verify that all users of Region 1 are no super administrators because if they are, they are implicit permission owner and see everything.

Regards,

Fabian

LJB
Contributor
0 Kudos

Hi Pavan,

As suggested by Raghu, you need to assign your users to groups or roles and define strict permissions on each region folder for these groups or roles.

E.g. User groups: Region 1, Region 2, Region 3

Folder structure: /documents/Folder1, /documents/Folder2, /documents/Folder3

Assign all users read permission on the /documents folder but then just assign the specific groups permissions on the subfolders. So give Region1 group of users read permissions to /documents/Folder1 and no permissions on Folder2 or Folder3.

This way you can have one iview pointing to /documents which all users can access but the users will only see the subfolders depending on which group they belong to.

Regards,

Lorcan.

Former Member
0 Kudos

Thanks for the quick reply,

Is there a way to pass the Path parameter (/documents/folder1.... etc) to navigation Iviews @ runtime? so that i can write a code to find out the logged in users Regions and then pass the suitable folder path to Navigation Iview.

-Pavan

former_member206159
Active Contributor
0 Kudos

Hi,

I don't see anyother way of doing this. you have to create a separate role for each user group for each region.

Raghu