summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-25 10:15:31 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-10-25 10:15:31 +0200
commit5055826f761d02a1d4d2089fc14f59ad6c056e85 (patch)
tree3d588aeb15ba6fa928176a95395e8b72951daa9f /archaeological_context_records/models.py
parent92d22b1ce956af34fb7b98f7bc280ec6ad94d46b (diff)
parent9f17817b0e89348ae82f88f21befb9568349fbc1 (diff)
downloadIshtar-5055826f761d02a1d4d2089fc14f59ad6c056e85.tar.bz2
Ishtar-5055826f761d02a1d4d2089fc14f59ad6c056e85.zip
Merge branch 'master' into develop
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index ea6b97fd4..925a48597 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -630,6 +630,9 @@ class RecordRelationView(models.Model):
managed = False
db_table = 'record_relations'
unique_together = ('id', 'right_record')
+ permissions = [
+ ("view_recordrelation", u"Can view all record relations - view"),
+ ]
def __unicode__(self):
return u"{} \"{}\"".format(self.relation_type, self.right_record)