codingcommons / tiny-tms

A Translation Management System to cover the needs of most people. Not for everyone, but for most.
https://codingcommons.github.io/tiny-tms/
Apache License 2.0
8 stars 0 forks source link

DB base setup #8

Closed mledl closed 4 months ago

mledl commented 4 months ago

The aim of this issue is to come up and discuss a base RDBMs schema that supports the following requirements:

The following image shows an example ER diagram depicting what such DB schema could look like. image

Let's discuss if this is a good starting point or some adjustments to this proposal would make more sense. For example, not storing languages as individual table.

benjaminstrasser commented 4 months ago

I like the setup! some additional thoughts and I would love some input.

add user groups

users can be added to groups. groups can be assigned to projects. individual users can still be added to projects.

permissions

add read/write permissions to the user groups/users associations with an project

mledl commented 4 months ago

I think having user groups with certain permissions is a good feature as well. I would see this as an add-on once we are set with the per user permissions.