diff options
| author | Robert | 2017-07-06 11:40:03 +0200 |
|---|---|---|
| committer | Robert | 2017-07-06 11:44:46 +0200 |
| commit | 1b5b681603f629b901deabffc4c55f654bbcfe14 (patch) | |
| tree | 981e874bcc11a39285b456c19a983d007f86cef9 /DEVNOTES.md | |
| parent | b09994a4ee79f735f9b3f43535c6d138c4b68a56 (diff) | |
| download | chouette-core-1b5b681603f629b901deabffc4c55f654bbcfe14.tar.bz2 | |
Fixes: #3478@1.5h
- Fixes remaining issues with LinePolicy, CalenderPolicy & RoutePolicy
- Dead Code elimination
Diffstat (limited to 'DEVNOTES.md')
| -rw-r--r-- | DEVNOTES.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/DEVNOTES.md b/DEVNOTES.md index 01f58fa0f..2a3915ed2 100644 --- a/DEVNOTES.md +++ b/DEVNOTES.md @@ -33,7 +33,7 @@ The following Policies are of this type. The standard type policy inherits from `ApplicationPolicy` does not override any _Undesructive_ _Pemission_ but overrides the _Destructive_ ones. -Normally, but not always they are overriden as follows +They are overriden as follows ```ruby def <destructive>? @@ -41,21 +41,20 @@ Normally, but not always they are overriden as follows end ``` -There are some variations (**TO BE CLARIFIED**) concerning `organisation_match?`. +**An exception** is `Referntial` which **cannot** check for `organisation_match?` for creation as there is no referential. The following Policies are of this type. - `AccessLink` - `AccessPoint` - - `Calendar` (*) + - `Calendar` - `ConnectionLink` - `JourneyPattern` - `Referential` + custom - - `Route` + - `Route` (used by `StopPoint` too) - `RoutingConstraintZone` - `TimeTable` + custom -`Calendar` is a strange exception where no user permission is checked for the _destructive_ _permissions_. |
