Hi,

After submitting a patch that automatically creates users[1] in the user
table after they are authenticated through an external service (imap,
ftp, smb), I need something more:

A way to define a "template user" whose properties are copied whenever
a new user is created automatically.

This could be used to automatically assign groups and set the default
language.

It should also be possible to e.g. automatically set the email address
from the user name when logging in via imap.

What would be the best way to implement this feature?
A configuration section? Creating a "default" user in the backend whose
properties get copied? A hook that other apps/extensions can register
to?

Issues I see:
- How would you define which properties get copied?
- What if not the full email address is used to auth against the imap
  server, but only the part before the @?
- What if we need several templates, for each domain one?


[1] https://github.com/owncloud/apps/pull/1579

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-=≡ Geeking around in the name of science since 1982 ≡=-

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to