AutoPacker-OSS/autopacker

Seperate personal and organization projects in file api

Closed this issue · 7 comments

Description

Right now there are no modules in the GENERAL API portion of the the site, this means when you request a project without any modules like you can see in the picture under. Only the meta data about the project iis saved when it's submitted, however the modules are not.

Add a way so the modules gets added with the submission of the project to an organization.

UPDATE

The team decided to handle everything in File API instead. We still need to make a way to seperate the two different kind of proejcts, if they are organization based or personal.

Screenshots:
image

@libanbn We should use file delivery api for this, but are there any seperators we can use to seperate private projects from organization projects?

No mechanisms have been implemented to distinguish private projects from projects in organizations at the moment

I talked to Aron about this, that we should utilize File API to handle the project and I will update the description of this issue while working on it.

@MrPrecise Pretty sure this is closed as it might be solved after @strazdinsg refactored this process.

@MrPrecise Yes, one can check the organization_id for the project (organization property). If that is not null, the project belongs to an organization.
One bug though: when a project submission is accepted by the organization, the owner of the organization should be set as the owner for the project. I.e., the original owner "misses" the ownership. Otherwise the organization owner will not have any ability to manage the project.

@MrPrecise Yes, one can check the organization_id for the project (organization property). If that is not null, the project belongs to an organization.
One bug though: when a project submission is accepted by the organization, the owner of the organization should be set as the owner for the project. I.e., the original owner "misses" the ownership. Otherwise the organization owner will not have any ability to manage the project.

@MrPrecise Should create another issue for this