From d826dc9d2076fcc032eafaf9cbe80f38a5c8f2f1 Mon Sep 17 00:00:00 2001
From: Benjamin Graillot <graillot@crans.org>
Date: Wed, 18 Sep 2019 16:40:21 +0200
Subject: [PATCH] [permission] Permission admin view

---
 apps/permission/admin.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/apps/permission/admin.py b/apps/permission/admin.py
index 8c38f3f3..4594468d 100644
--- a/apps/permission/admin.py
+++ b/apps/permission/admin.py
@@ -1,3 +1,11 @@
 from django.contrib import admin
 
-# Register your models here.
+from .models import Permission
+
+
+@admin.register(Permission)
+class PermissionAdmin(admin.ModelAdmin):
+    """
+    Admin customisation for Permission
+    """
+    list_display = ('type', 'model', 'field', 'permission')
-- 
GitLab