Permalink
Browse files

seperate faq delete permission from edit permission

  • Loading branch information...
1 parent 2043b68 commit 45f8502de75a9682ce469428ad22081b65ac7c1b @zouchaoqun zouchaoqun committed Jul 13, 2009
Showing with 11 additions and 3 deletions.
  1. +2 −2 README
  2. +1 −0 config/locales/cs.yml
  3. +1 −0 config/locales/de.yml
  4. +1 −0 config/locales/en.yml
  5. +1 −0 config/locales/fr.yml
  6. +1 −0 config/locales/ja.yml
  7. +1 −0 config/locales/ru.yml
  8. +1 −0 config/locales/zh.yml
  9. +2 −1 init.rb
View
4 README
@@ -91,9 +91,9 @@ cs.yml - Marek Hulán
de.yml - Mathias Kühn
ru.yml - Alexander Kirillov
fr.yml - james pic
-ja.yml - Akiko Takano
+ja.yml - Akiko Takano
=== Contact info
-Homepage -> http://218.107.133.32:5000/projects/ezwork powered by redmine
+Homepage -> http://ezwork.techcon.thtf.com.cn/projects/ezwork powered by redmine
Email -> zouchaoqun@gmail.com
View
@@ -41,6 +41,7 @@ cs:
permission_view_faqs: Zobraz FAQ
permission_add_faqs: Nové FAQ
permission_edit_faqs: Upravit FAQ
+ permission_delete_faqs: Delete FAQ
permission_manage_faq_categories: Spravovat kategorie FAQ
permission_faq_setting: Nastavení FAQ
View
@@ -41,6 +41,7 @@ de:
permission_view_faqs: View FAQ
permission_add_faqs: New FAQ
permission_edit_faqs: Edit FAQ
+ permission_delete_faqs: Delete FAQ
permission_manage_faq_categories: Manage FAQ Categories
permission_faq_setting: FAQ Settings
View
@@ -41,6 +41,7 @@ en:
permission_view_faqs: View FAQ
permission_add_faqs: New FAQ
permission_edit_faqs: Edit FAQ
+ permission_delete_faqs: Delete FAQ
permission_manage_faq_categories: Manage FAQ Categories
permission_faq_setting: FAQ Settings
View
@@ -41,6 +41,7 @@ fr:
permission_view_faqs: View FAQ
permission_add_faqs: New FAQ
permission_edit_faqs: Edit FAQ
+ permission_delete_faqs: Delete FAQ
permission_manage_faq_categories: Manage FAQ Categories
permission_faq_setting: FAQ Settings
View
@@ -41,6 +41,7 @@ zh:
permission_view_faqs: View FAQ
permission_add_faqs: New FAQ
permission_edit_faqs: Edit FAQ
+ permission_delete_faqs: Delete FAQ
permission_manage_faq_categories: Manage FAQ Categories
permission_faq_setting: FAQ Settings
View
@@ -41,6 +41,7 @@ ru:
permission_view_faqs: View FAQ
permission_add_faq: Добавление вопросов
permission_edit_faq: Изменение вопросов
+ permission_delete_faqs: Delete FAQ
permission_manage_faq_categories: Настройка категорий ЧаВо
permission_faq_setting: Настройка ЧаВо
View
@@ -41,6 +41,7 @@ zh:
permission_view_faqs: 查看FAQ
permission_add_faqs: 新建FAQ
permission_edit_faqs: 编辑FAQ
+ permission_delete_faqs: 删除FAQ
permission_manage_faq_categories: 管理FAQ类别
permission_faq_setting: FAQ设置
View
@@ -38,7 +38,8 @@
project_module :ezfaq do
permission :view_faqs, {:ezfaq => [:index, :show, :history, :diff, :show_history_version]}, :public => true
permission :add_faqs, {:ezfaq => [:new, :preview]}, :require => :loggedin
- permission :edit_faqs, {:ezfaq => [:edit, :preview, :copy, :destroy, :list_invalid_faqs]}, :require => :member
+ permission :edit_faqs, {:ezfaq => [:edit, :preview, :copy, :list_invalid_faqs]}, :require => :member
+ permission :delete_faqs, {:ezfaq => [:destroy]}, :require => :member
permission :manage_faq_categories, {:ezfaq => [:add_faq_category], :faq_categories => [:index, :change_order, :edit, :destroy]}, :require => :member
permission :faq_setting, {:ezfaq => [:faq_setting]}, :require => :member
end

0 comments on commit 45f8502

Please sign in to comment.