aboutsummaryrefslogtreecommitdiffstats
path: root/DEVNOTES.md
diff options
context:
space:
mode:
authorRobert2018-01-09 12:24:23 +0100
committerRobert2018-01-09 12:24:36 +0100
commit0e91d206fd8278d0c43c34777f4a585481882b70 (patch)
tree9ef641b3455de5d6da2c22ffb702661e4e69ff8d /DEVNOTES.md
parent7ea0a6079017c561aa8286198bd77b258cb2d240 (diff)
downloadchouette-core-0e91d206fd8278d0c43c34777f4a585481882b70.tar.bz2
Refs: #5413@0.5h; Refactoring of #archived_or_finalised?
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 17a198446..bcdd37f5e 100644
--- a/DEVNOTES.md
+++ b/DEVNOTES.md
@@ -37,7 +37,7 @@ They are overriden as follows
```ruby
def <destructive>?
- !archived_or_finalised? && organisation_match? && user.has_permission('<resource in plural form>.<action>')
+ !referential_read_only? && organisation_match? && user.has_permission('<resource in plural form>.<action>')
end
```