ctrl-space-labs / gendox-core

Gendox: "Generate. Train. Evolve."
GNU Affero General Public License v3.0
5 stars 0 forks source link

Remove business logic from addUserToOrganization in Organization Controller #310

Open myrtp opened 3 months ago

myrtp commented 3 months ago

Currently the code checking that the user adding a member will not assign a higher permission to it is in the Organization Controller. This should be a methods on the userOrganization service and just use it on the controller.