user_backend_sql_raw icon indicating copy to clipboard operation
user_backend_sql_raw copied to clipboard

Adding/Editing of arbitrary user fields through Nextcloud

Open marcthe12 opened this issue 4 years ago • 3 comments

An ability to set and get other fields like email, quota, groups, etc in the same way as display name currently do. This allows to do the user management inside nextcloud for stuff like email or git.

Another idea if possible will be to lock the fields which would be useful if they are static or computed/generated from other entries. In my case, since there is only one domain, email gets generated from username.

There are already 3 exsisting issues related to this:

  • [ ] #23 Quota
  • [ ] #20 Email
  • [ ] #7 Groups

marcthe12 avatar Mar 27 '20 08:03 marcthe12

@marcthe12 I have just created a pull request which implements #20 and #7 and could easily be extended for #23 too. Please have a look at #26

kosli avatar Apr 08 '20 22:04 kosli

You mean Nextcloud should read the Quota value from an external SQL database?

What do you mean by "git"? What would this field contain and how would Nextcloud use it?

PanCakeConnaisseur avatar Oct 11 '20 12:10 PanCakeConnaisseur

I was referring non gui services. Git is poor choice of example but for mail you can share quota for the mailbox which is useful. Any field that can be edited via documented Nextclould apis should prob be exposed.

marcthe12 avatar Oct 13 '20 10:10 marcthe12