From 52386d596200195099990a4915e28689e481bc9c Mon Sep 17 00:00:00 2001 From: Roland Studer Date: Tue, 1 May 2018 17:08:58 +0200 Subject: [PATCH] adding impersonation --- CHANGELOG.md | 5 +++++ app/models/group/top_layer.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ca8e23c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# Hitobito Changelog + +## Version 1.11 + +* completely new generic structure, more in line with what organizations actually look like today. diff --git a/app/models/group/top_layer.rb b/app/models/group/top_layer.rb index 8d125c7..667853c 100644 --- a/app/models/group/top_layer.rb +++ b/app/models/group/top_layer.rb @@ -15,7 +15,7 @@ class Group::TopLayer < Group Group::TopLayerMembers, Group::TopLayerContacts, Group::Region, Group::Local class Administrator < Role - self.permissions = [:admin, :layer_and_below_full] + self.permissions = [:admin, :layer_and_below_full, :impersonation] end roles Administrator