summaryrefslogtreecommitdiff
path: root/archaeological_context_records
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records')
-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 d4341e6cb..08e94af85 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -1092,6 +1092,9 @@ class ContextRecord(
actions = super(ContextRecord, self).get_extra_actions(request)
# is_locked = hasattr(self, "is_locked") and self.is_locked(request.user)
+ can_add_geo = self.can_do(request, "add_geovectordata")
+ if can_add_geo:
+ actions.append(self.get_add_geo_action())
can_create_find = self.can_do(request, "add_find")
if can_create_find:
actions += [