Skip to content

Web User Group that specify user individual directory

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
  • JamesLSEG Offline
  • Posts: 6
  • Joined: Tue Feb 16, 2016 11:05 am

Web User Group that specify user individual directory

Post by JamesLSEG »

Hi

Is it possible to create web user groups that can be granted to user so it will provide virtual directory unique that user.

Web Group 1 =
${user.name}/Product1/In
${user.name}/Product1/Out

Web Group 2 =
${user.name}/Product2/In
${user.name}/Product2/Out

Company1 (member of group 1 and 2) need to see the below
Company1/Product1/In
Company1/Product1/Out
Company1/Product2/In
Company1/Product2/Out

Company2 (member of group 2) need to see the below
Company2/Product1/In
Company2/Product1/Out

Company 1 and 2 see there individual directory for product 1.

James
  • Support_Andy Offline
  • Posts: 8
  • Joined: Thu Feb 16, 2017 11:03 am

Re: Web User Group that specify user individual directory

Post by Support_Andy »

It is possible to create Web User Group as laid out.
A web user group has a default home directory that includes the username.
(i.e. Install Dir/userdata/webdocs/”domain name”/”webusername”)
To split out user groups by company would make the most sense in this scenario.
Company A Web User Group
  • 1. Create a Web User Template for Company A.
    Set General permissions for this Company in the template
    2. Create a Web User Group for Company A
    In the Folders Tab Select the + Add to create a Virtual Folder
    Alias = Company A
    Path = “${homeDirectory}\CompanyA”
    Grant List Permissions Only
    3. On the Company A Folder Select the + Add to create a sub folder
    Alias = Product1
    Virtual Directory Path = “${homeDirectory}\CompanyA\Product1”
    Grant List Permissions Only
    4. On the Product1 Folder Select the+ Add to create a sub folder to Product1
    Alias = In
    Virtual Directory Path = “${homeDirectory}\CompanyA\Product1\In”
    Grant List, Download, Upload, Delete Files Permissions
    5. On the Product1 Folder Select the+ Add to create a sub folder to Product1
    Alias = Out
    Virtual Directory Path = “${homeDirectory}\CompanyA\Product1\Out”
    Grant List, Download, Upload, Delete Files Permissions
    6. Repeat Steps b - d and replace Product 1 with Product 2 to create the same pattern as Product 1
    7. Assign Web User Group A to the Template Created in Step 1
    8. When creating new Web Users there will be a prompt for which Web User Template to select. Select the Company the user belongs to.
  • For Company B Create a Web User Template with a Company B Web User Group that follows the same pattern

    The Web user experience will be the following
    User will sign into the Web Client
    User will expand Company Name
    User will expand Product(1 or 2)
    User will select the In or Out folder
    User will upload/download/delete files.
    User cannot upload download in any other folder they expand through only on the In/Out folder level
  • JamesLSEG Offline
  • Posts: 6
  • Joined: Tue Feb 16, 2016 11:05 am

Re: Web User Group that specify user individual directory

Post by JamesLSEG »

Yes managed to do using the homedirectoy variable.

I have noticed that when web user are deleted it leaves there home directory and structure on filesystem. Is there a way to clean up deleted web user home directories?

The issue is when a new web user gest created using the same username there home directory is the deleted users home directory which might have files from deleted user usage.

James
  • Support_Andy Offline
  • Posts: 8
  • Joined: Thu Feb 16, 2017 11:03 am

Re: Web User Group that specify user individual directory

Post by Support_Andy »

When deleting Web Users there are 3 steps in the Delete task (Disable Web User, Delete Home Directories, Delete Web User Accounts)

On the second step the User Name must be selected with a checkmark to delete the home directory and any files in that directory.
This is an optional step. If the next button is just pressed on steps 1-3 without selecting the box next to the User Name the directory and files within are not removed.
Post Reply