waldur-mastermind icon indicating copy to clipboard operation
waldur-mastermind copied to clipboard

Auto Invite or Default Org

Open mattronix opened this issue 2 years ago • 3 comments

Hello Waldur,

Any way to auto add new users to a default org, give them some default permissions or auto invite them?

mattronix avatar Feb 14 '24 13:02 mattronix

Any chance this is possible but missing docs?

mattronix avatar Feb 26 '24 16:02 mattronix

There is something that has been done for a HPC case, but was never extracted for a generic one as we didnt really have any such scenarios.

But code is pretty straightforward:

  • handler is here - https://github.com/waldur/waldur-mastermind/blob/develop/src/waldur_hpc/apps.py#L14
  • https://github.com/waldur/waldur-mastermind/blob/develop/src/waldur_hpc/handlers.py#L217 - eaxmple of creation organization / project / offering for the user based on the user profile data.

livenson avatar Feb 26 '24 18:02 livenson

Oh i see indeed its pretty standard, i need to spend a bit more time going through the code properly, also do django development but quite a few new concepts i need to pick up on in the code base.

This part looks pretty standard and i could see how i can adapt it.

Thanks for the explanation

mattronix avatar Feb 29 '24 11:02 mattronix