Using directory templates for groupshares, create groups without a share
If we add a new group via invis-portal on an invis-server, the server automatically creates a working-directory for this group. Only the groupmembers can access and use it.
It would be a nice addon, if we could select a directory-template from collection of templates, for creating the new workingdirectory for a new group.
invis-portal launches a shell-script called "creategroupshare". I added the possibility to use template-dirs to this script before. For using this feature it's only neccessary to give it the path to the templatedir as a position parameter:
To use this feature we have to add the template-dir selection to invis-portal. The selection should be a dropdown list.
It should be possible to create groups without a share/directory. We will add a checkbox to the group creation dialog to disable the share creation. Default is enabled. We integrated this option in the dropdown list. The list contains "Leeres Verzeichnis" (default), "Kein Verzeichnis" and then the template directories, if there are any.
The template directory needs acls. We will create a group "diradmins" with sine2. Only members of this group should be able to create, delete or modify the template directories.
#8 Updated by flacco about 4 years ago
- % Done changed from 10 to 90
Job done. Users can now create directory templates for groupshares in /srv/shares/media/portal/verzeichnisvorlagen. invis-Portal scans this directory and builds a dropdown list for choosing the wanted template.
It's now also possible to create groups without a share.
#10 Updated by ingogoeppert about 4 years ago
If we "We should think about access restrictions for the templatedir." we have to think about the access restrictions for the webserver who has to create the list of template directory. Then we have to set read ACLs for wwwrun and remove the read right for the others.