action #23758
closedUsing directory templates for groupshares, create groups without a share
Description
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.
First feature¶
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:
creategroupshare /path/to/templatedir
To use this feature we have to add the template-dir selection to invis-portal. The selection should be a dropdown list.
Second feature¶
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.
Third feature¶
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.
Updated by ingogoeppert over 6 years ago
- Project changed from invis-server to invisAD-setup
- Category deleted (
Developement) - Target version deleted (
13.1)
Updated by ingogoeppert over 6 years ago
- Subject changed from Using directory templates for groupshares to Using directory templates for groupshares, create groups without a share
- Description updated (diff)
- Assignee set to flacco
- Target version set to 14.0
Updated by ingogoeppert over 6 years ago
Current state:
- creategroupshare ist prepared to use templates
- adajax.php and admintools.js got first functions to handle templates
- adajax.php needs to scan for templates
- admintools.js: checkbox and dropdown list needed
- ...
Updated by flacco over 6 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.
Updated by flacco over 6 years ago
- Status changed from In Progress to Feedback
We should think about access restrictions for the templatedir.
Updated by ingogoeppert over 6 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.
Updated by ingogoeppert over 6 years ago
- Status changed from Feedback to In Progress
Updated by flacco over 6 years ago
- % Done changed from 90 to 80
Our implementation of working with directory templates has still one bug. Until there is no template it is not possible to create a group with an empty directory. It seems to be a javascript problem.
Updated by ingogoeppert over 6 years ago
Updated by ingogoeppert over 6 years ago
Next problem: Directory "verzeichnisvorlagen" is only writeable by root. We should make it write able for a group of users.
Updated by flacco over 6 years ago
- Status changed from In Progress to Feedback
OK, we can create a new group "diradmins" for example during sine2s run and let afterup set acls for this group on the templatedir.
Updated by ingogoeppert over 6 years ago
- Description updated (diff)
- Status changed from Feedback to In Progress
Updated by flacco over 6 years ago
- % Done changed from 80 to 90
sine2 now creates a group "diradmins" who owns the templatedir.
Updated by flacco about 6 years ago
- Status changed from In Progress to Workable
sine2 now sets access rights to template dir
Updated by flacco about 6 years ago
- Status changed from Workable to Closed
- % Done changed from 90 to 100
some Bugs fixed. Works. Job done.