Folder Structure with granular permissions

9.1.x

#1

I have created a root folder structure containing folders for different departments. I want to give read or read/write permissions on each folder as per the department user level.

E.g.

parent folder >> Project
child folder >> HR Department
sub child folder >> FE Attendance
Child folder >> Accounts Department
sub child folder >> FE Cash Book

In this case there are two users and one is admin, admin has to provide individual access to HR Department and Accounts Department to the respective folder, but when they both will open their login they should be able to view only their respective folder for ex, if account department will login, then should see only
Login by Accounts Department :
parent folder >> Project
Child folder >> Accounts Department
sub child folder >> FE Cash Book

Login by HR Department :
parent folder >> Project
Child folder >> HR Department
sub child folder >> FE Attendance

Can someone please help me in figuring out the permissions and sharing issue as an Admin?

My current OC version is 9.1.16
OS is RHEL 7.3


#2

ownCloud has the concept of strong inheritance of permissions from the folder down.
Therefor the above is not possible and you will need to do a different structure.
You would have a folder Project Accounts Department and one Project HR Department and then share them with the respective people.