How do I prevent anyone other than certain users creating objects that have a relation to the (in your example) organisation?
So if I have an object called Venue which has a foreign key to Organisation, how do I prevent anyone apart from users in that organisation from creating Venues for it?
Is the only way to do it to use the serializer or can I use this app for that too somehow?
How do I prevent anyone other than certain users creating objects that have a relation to the (in your example) organisation?
So if I have an object called Venue which has a foreign key to Organisation, how do I prevent anyone apart from users in that organisation from creating Venues for it?
Is the only way to do it to use the serializer or can I use this app for that too somehow?