I can see no changes with django-guardian, even using the GuardedModelAdmin. I would like that the user could see and edit only the records allowed (not just owned, but allowed) for him. But even appending all permissions the user still cannot see the rows.
class EventoAdmin(GuardedModelAdmin):
list_display = ('titulo', 'ativo')
list_editable = ('ativo',)
readonly_fields = ('user', )
list_display_links = ('titulo',)
inlines = [ProdutoInline,]
exclude = ('slug', 'onde', 'inicio', 'fim' )
@property
def queryset(self):
return partial(self.get_queryset)