aboutsummaryrefslogtreecommitdiffstats
path: root/DEVNOTES.md
diff options
context:
space:
mode:
authorRobert2018-01-08 10:09:37 +0100
committerRobert2018-01-08 10:09:37 +0100
commit0a69d409cded29a45ee3857f0a49c9a7a51d858a (patch)
tree84f8eaef50642b5f89ccce2fa401b3c5da4cafa3 /DEVNOTES.md
parentfb9eb367b9c56c19df7f2e2301f4a417f5409d6d (diff)
downloadchouette-core-0a69d409cded29a45ee3857f0a49c9a7a51d858a.tar.bz2
Fixes: #5413@1h; Specs implemented
Diffstat (limited to 'DEVNOTES.md')
-rw-r--r--DEVNOTES.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/DEVNOTES.md b/DEVNOTES.md
index 2a3915ed2..17a198446 100644
--- a/DEVNOTES.md
+++ b/DEVNOTES.md
@@ -37,7 +37,7 @@ They are overriden as follows
```ruby
def <destructive>?
- !archived? && organisation_match? && user.has_permission('<resource in plural form>.<action>')
+ !archived_or_finalised? && organisation_match? && user.has_permission('<resource in plural form>.<action>')
end
```