nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
148 stars 23 forks source link

Add support for teams in the user/group column #1304

Open juliusknorr opened 2 months ago

juliusknorr commented 2 months ago

We now have the nice column type for users/groups. In addition we would need to add support for teams which are simply described as user defined groups.

From what I remember the implementation should be reasonably flexible to extend with just an additional type.

@enjeck Can you line this up for development after your current one?

For getting this setup locally you will need the teams app (still called circles as the app id) and the contacts app which contains the UI to manage teams.

enjeck commented 2 months ago

@juliushaertl Do we anticipate having to support other types in the future? Because right now, we have two separate fields (usergroupSelectUsers and usergroupSelectGroups) in a Column object. Adding teams would make it three. Maybe we should just condense it into one value? Such as a comma-separated string, as is done with the link subtype via the textAllowedPattern field (e.g, to support files and contacts, the value oftextAllowedPattern is 'files,contacts').