[Owncloud] user template for external authentication
Christian Weiske
cweiske at cweiske.de
Fri Dec 27 20:37:58 UTC 2013
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 ≡=-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20131227/f93ecbdf/attachment.sig>
More information about the Owncloud
mailing list