I'm writing a web app for my University's dinning hall to use that will be accessible to the entire uni. One of the things I'm negotiating for is to retain the copyright without giving it to the Uni. The Uni on the other hand is concerned that if I do retain the copyright, they will not have the legal right to use the code later. A middleground I can think of is to license the code using an OSS license.
Another concern of the the Uni is that if I share the source online, security issues will be found and won't be responsibly disclosed.
The Uni has previously acted in bad faith in project and therefore I want to force them to open source the code if they force me to step down as a maintainer. I will make this clear to them.
Can I use AGPLv3 for this situation? TLDR: Can I use AGPLv3 on code that won't be open sourced for a while if I'm the original author and none of the code code used has come from copyleft sources?
Is there anything else I can do in this situation?
I know that if my code depends on AGPL code and is hosted on a publicly accessible server, I must open source it. I also do understand that what I'm doing might go against the spirit of OSS.