Projects such as Django-guardian and django-permissions enables you to have object level permissions. However, if two objects are related to each other by a parent-child relationship, is there any way for the child object to inherit permission from the parent object unless otherwise specified? For instance, a subfolder
should inherit permission from parent folder
unless a user explicitly assigns a different permission for the subfolder.
What's the best way to accomplish this using Django, in particular, the Django-guardian module?