code0-tech / sagittarius

The orchestrating backend for the Code0 application
4 stars 0 forks source link

Implement Projects #173

Closed Taucher2003 closed 1 month ago

Taucher2003 commented 2 months ago

Organizations can have projects.

For now, the projects don't contain anything besides a name and a description.

nicosammito commented 2 months ago

@Taucher2003 @Knerio please keep in mind that projects can also be created without a organisation. This is similar to self owned repositories on GitHub that are related to the account.

Taucher2003 commented 2 months ago

Currently it works as intended. Projects only exist within an organization. We might reconsider that in the future, but for now, it definitely isn't worth the added complexity to having projects within two different parent types.

One example of the added complexity would be members. Either you can't invite anyone to your personal projects or we would have to introduce members at a project level and then somehow combine it with the members on organization level when the project is in an organization. And if we would be to support members on project level, either all members are project administrators or we would also have to introduce roles on the project level which would have to be properly merged with organization roles for projects in organizations.

For now I would prefer that projects stay in organizations and if a user wants personal projects, they can create an organization just for themself.