aboutsummaryrefslogtreecommitdiffstats
path: root/app/policies
diff options
context:
space:
mode:
authorRobert2017-05-31 19:00:14 +0200
committerRobert2017-05-31 19:00:14 +0200
commitb6f6bf1d65f961f4ea6c1df91bc1ade9dfa8f7e2 (patch)
treedb51a85c261551d79ece843c3fe1c1f6aca89d8d /app/policies
parent56a4d7ddacd072c004ab087df228cae10aea3ef4 (diff)
downloadchouette-core-b6f6bf1d65f961f4ea6c1df91bc1ade9dfa8f7e2.tar.bz2
Refs: #3326; Policy application in referentials/show
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/referential_policy.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/referential_policy.rb b/app/policies/referential_policy.rb
index 4a5e85ead..e531c6c19 100644
--- a/app/policies/referential_policy.rb
+++ b/app/policies/referential_policy.rb
@@ -25,6 +25,11 @@ class ReferentialPolicy < BoivPolicy
organisation_match? && create?
end
+ def common_lines?
+ # TODO: Replace with correct BL ASA available, c.f. https://projects.af83.io/issues/2692
+ true
+ end
+
def unarchive? ; archive? end
def update? ; edit? end
def new? ; create? end