Search code examples
iccubeiccube-reporting

How do I switch off inherited permissions on report folder (IcCube)


I am trying to give access to differents roles / folders as following :

I have 3 roles :

  • MyCompanyPole1
  • MyCompanyPole2
  • MyCompanyAllPoles

And 3 Directories containing reports :

  • Docs > Web Docs > ic3-report > data > shared > MyCompany > Templates > Pole1
  • Docs > Web Docs > ic3-report > data > shared > MyCompany > Templates > Pole2
  • Docs > Web Docs > ic3-report > data > shared > MyCompany > Templates > AllPoles

How should I define the roles permissions to :

  • deny Pole2 directory to role MyCompanyPole1
  • deny Pole1 directory to role MyCompanyPole2
  • allow MyCompanyAllPoles to access AllPoles, Pole1 & Pole2

I tried to use the "- inherit" in the definition file without success

--   switch off inherited permissions (file only):
--   - inherit

Solution

  • There is no deny and -inherit applies to file only. You'll have to explicitly setup the permissions for each folders:

    :Templates/Pole1
        + [MyCompanyPole1]
        + [MyCompanyAllPoles]
    
    :Templates/Pole2
        + [MyCompanyPole2]
        + [MyCompanyAllPoles]
    
    :Templates/AllPoles
        + [MyCompanyAllPoles]