From 48db4fddc9a4af7e6e186ac6812aaa4bdd6a9f84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Mon, 13 Mar 2023 12:25:01 +0100 Subject: [PATCH] abilities --- app/models/ability.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/ability.rb b/app/models/ability.rb index bb1ea2a5b..8f9c9fe43 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -101,8 +101,8 @@ class Ability can :manage, Communication::Extranet::Post, university_id: @user.university_id can :manage, Communication::Extranet::Post::Category, university_id: @user.university_id can :manage, Communication::Extranet::Document, university_id: @user.university_id - # can :manage, Communication::Extranet::Document::Category, university_id: @user.university_id - # can :manage, Communication::Extranet::Document::Kind, university_id: @user.university_id + can :manage, Communication::Extranet::Document::Category, university_id: @user.university_id + can :manage, Communication::Extranet::Document::Kind, university_id: @user.university_id can :manage, Communication::Extranet::Connection, university_id: @user.university_id can :manage, Education::AcademicYear, university_id: @user.university_id can :manage, Education::Cohort, university_id: @user.university_id -- GitLab