Example: Setting up templates for logical folders
In this example, the system administrator defined this information on the File Server Logical Folders form:
Logical folder name | Server name | Folder template | Folder depth |
CustPO | ServerS3 | /Customers/P(CUSTNUM)/PO/ | 3 |
Benefits401K | ServerFTP | /USERNAME()/Benefits/401/ | 3 |
BenefitsMisc | ServerUNC | /USERGROUP()/LOGICALNAME()/ | 3 |
BenefitsMedPlan | ServerUNC | /USERGROUP()/internals/USERNAME()/LOGICALNAME()/ | 3 |
The system administrator set up an authorization group called CompanyDocs that grants access to these logical folders:
- Benefits401K
- BenefitsMedPlan
When the user jdean tries to access the logical folder BenefitsMedPlan, the application takes these actions:
- Checks whether jdean belongs to the group CompanyDocs. If yes, it continues.
- Checks whether the file path matches the folder template and depth. In this case, the template path is substituted as /CompanyDocs/internals/jdean/BenefitsMedPlan/ and the folder depth is 3.
- The user can access any file in these folders:
- CompanyDocs/internals/jdean/BenefitsMedPlan
- CompanyDocs/internals/jdean/BenefitsMedPlan/level1
- CompanyDocs/internals/jdean/BenefitsMedPlan/level1/level2