Project

General

Profile

Actions

action #23758

closed

Using directory templates for groupshares, create groups without a share

Added by flacco about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2017-08-29
Due date:
% Done:

100%

Estimated time:

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.

Actions #1

Updated by flacco about 7 years ago

  • % Done changed from 0 to 10
Actions #2

Updated by flacco about 7 years ago

  • Status changed from New to In Progress
Actions #3

Updated by ingogoeppert about 7 years ago

  • Target version set to 13.1
Actions #5

Updated by ingogoeppert over 6 years ago

  • Project changed from invis-server to invisAD-setup
  • Category deleted (Developement)
  • Target version deleted (13.1)
Actions #6

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
Actions #7

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
  • ...
Actions #8

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.

Actions #9

Updated by flacco over 6 years ago

  • Status changed from In Progress to Feedback

We should think about access restrictions for the templatedir.

Actions #10

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.

Actions #11

Updated by ingogoeppert over 6 years ago

  • Status changed from Feedback to In Progress
Actions #12

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.

Actions #13

Updated by ingogoeppert over 6 years ago

I will try to fix it.

Actions #15

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.

Actions #16

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.

Actions #17

Updated by ingogoeppert over 6 years ago

  • Description updated (diff)
Actions #18

Updated by ingogoeppert over 6 years ago

  • Description updated (diff)
  • Status changed from Feedback to In Progress
Actions #19

Updated by flacco over 6 years ago

  • % Done changed from 80 to 90

sine2 now creates a group "diradmins" who owns the templatedir.

Actions #20

Updated by flacco about 6 years ago

  • Status changed from In Progress to Workable

sine2 now sets access rights to template dir

Actions #21

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.

Actions

Also available in: Atom PDF