From 1d525d5b1c43acea374d6ed1f6e0aa1dd756cba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Mon, 28 Nov 2022 11:47:28 +0100 Subject: [PATCH] fix --- app/models/ability.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/ability.rb b/app/models/ability.rb index fd09a644a..182311084 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -94,6 +94,8 @@ class Ability can :manage, Research::Journal::Paper, university_id: @user.university_id can :manage, Research::Journal::Volume, university_id: @user.university_id can :manage, Research::Laboratory, university_id: @user.university_id + can :manage, Research::Laboratory::Axis, university_id: @user.university_id + can :manage, Research::Thesis, university_id: @user.university_id can :manage, University::Role, university_id: @user.university_id can :manage, University::Person::Involvement, university_id: @user.university_id can :manage, University::Organization, university_id: @user.university_id -- GitLab