diff options
| author | Zog | 2018-05-09 10:19:33 +0200 |
|---|---|---|
| committer | Zog | 2018-05-09 10:19:33 +0200 |
| commit | 64933b6903583b585f7de5bc391a9ab2ade1c6a7 (patch) | |
| tree | 844875f2cc8f62f9561e2b9b840dee2c6d2128d4 /lib | |
| parent | 9434284e4f12b4b576762dabbd2b0a308e28bc61 (diff) | |
| download | chouette-core-64933b6903583b585f7de5bc391a9ab2ade1c6a7.tar.bz2 | |
Refs #6961; Update Workbench#edit
- Update the form
- Use policies and update the seeds accordingly
- Add a link in the navbar(s)
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stif/permission_translator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stif/permission_translator.rb b/lib/stif/permission_translator.rb index 09a7c610c..aefe50fe1 100644 --- a/lib/stif/permission_translator.rb +++ b/lib/stif/permission_translator.rb @@ -48,7 +48,7 @@ module Stif def translation_table { "boiv:read-offer" => %w{sessions.create}, - "boiv:edit-offer" => all_destructive_permissions + %w{sessions.create}, + "boiv:edit-offer" => all_destructive_permissions + %w{sessions.create workbenches.update}, } end |
