Change 'add products to OC' permission into the more general 'add enterprise to OC'

This commit is contained in:
Rohan Mitchell
2014-08-26 14:46:23 +10:00
parent 099a5b0b7b
commit 5ef13d3c5a
8 changed files with 36 additions and 41 deletions

View File

@@ -2,7 +2,7 @@ angular.module("ofn.admin").factory 'EnterpriseRelationships', ($http, enterpris
new class EnterpriseRelationships
create_errors: ""
all_permissions: [
'add_products_to_order_cycle'
'add_to_order_cycle'
'manage_products'
]
@@ -24,5 +24,5 @@ angular.module("ofn.admin").factory 'EnterpriseRelationships', ($http, enterpris
permission_presentation: (permission) ->
switch permission
when "add_products_to_order_cycle" then "can add products to order cycle from"
when "manage_products" then "can manage the products of"
when "add_to_order_cycle" then "can add to order cycle"
when "manage_products" then "can manage the products of"