Rohan Mitchell
|
a5debc19dc
|
Permit edits to exchanges involving enterprises permitted via E2E relationships
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
628d87b69a
|
Add to OC permission allows adding distributors to order cycle
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
5ef13d3c5a
|
Change 'add products to OC' permission into the more general 'add enterprise to OC'
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
099a5b0b7b
|
Show E2E related enterprise exchanges in OC
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
34602244ca
|
Show permitted suppliers in order cycle add supplier select box
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
b9e5821497
|
Add EnterpriseRelationship scopes permitting and with_permission
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
8548a1a67e
|
Determine producer options on order cycle screen through OpenFoodNetwork::Permissions class
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
a7689973be
|
Semantically name enterprises in spec
|
2014-08-28 10:09:50 +10:00 |
|
Rohan Mitchell
|
5e8bdce67d
|
Refactor spec
|
2014-08-28 10:09:50 +10:00 |
|
Rob H
|
a4be0ff55a
|
Comment out ERPs which have confusing names, use old 'permits'
|
2014-08-27 17:07:30 +10:00 |
|
Rob H
|
7124dc57fd
|
Requiring a state in checkout
|
2014-08-27 16:59:26 +10:00 |
|
Rob H
|
400f2ea9b9
|
Don't add payment forms to checkout DOM unless required
|
2014-08-27 15:09:41 +10:00 |
|
Rohan Mitchell
|
0462b3e55d
|
Prevent duplicate enterprise roles
|
2014-08-26 14:40:34 +10:00 |
|
Rob H
|
435819acc4
|
Removing unit text from total units column
|
2014-08-25 20:29:24 +10:00 |
|
Rob H
|
310d1b3726
|
Zeus server does not crash when editing controllers
|
2014-08-25 20:29:24 +10:00 |
|
Rob H
|
0d9e07d484
|
Make restore script compatible with OSX
|
2014-08-25 20:29:23 +10:00 |
|
Rohan Mitchell
|
45a44844ca
|
Remove old rabl spec
|
2014-08-25 16:38:17 +10:00 |
|
Rohan Mitchell
|
1a995aedda
|
Simplify enterprise_relationship factory - leverage permissions_list= model method
|
2014-08-25 15:20:46 +10:00 |
|
Rohan Mitchell
|
c3224ce668
|
Style permission list items, order perms consistently by name
|
2014-08-25 15:05:49 +10:00 |
|
Rohan Mitchell
|
3932884dba
|
Admin can create enterprise relationships with permissions
|
2014-08-25 14:59:10 +10:00 |
|
Rohan Mitchell
|
057ad9c6d3
|
Set enterprise relationship permissions from a list
|
2014-08-25 14:54:52 +10:00 |
|
Rohan Mitchell
|
50c559964c
|
Display enterprise relationship permissions
|
2014-08-25 13:28:02 +10:00 |
|
Rohan Mitchell
|
b4e89ad2c0
|
Convert enterprise relationship permission to string presentation
|
2014-08-25 13:27:01 +10:00 |
|
Rohan Mitchell
|
70feef1256
|
Add EnterpriseRelationshipPermission model
|
2014-08-25 13:26:23 +10:00 |
|
Rohan Mitchell
|
cb615ba994
|
Render enterprise relationships JSON with AMS instead of rabl
|
2014-08-25 13:07:31 +10:00 |
|
Rohan Mitchell
|
3524e658f8
|
Error when creating product and master is invalid, instead of creating a product without a master
|
2014-08-25 11:52:15 +10:00 |
|
Rohan Mitchell
|
4ceaec0ef5
|
Do not error when checking out with a pre-loaded shipping/billing address
|
2014-08-22 17:34:42 +10:00 |
|
Rohan Mitchell
|
dd42b0c239
|
Split out opening payments into own context
|
2014-08-22 14:38:44 +10:00 |
|
Rohan Mitchell
|
e173c69ee3
|
Fix arrow position
|
2014-08-19 16:53:23 +10:00 |
|
Rohan Mitchell
|
b35c5e902f
|
Fix broken JS specs
|
2014-08-19 16:47:51 +10:00 |
|
Rohan Mitchell
|
e3b4f6efc1
|
When profile admin only, do not show payment methods, shipping methods or enterprise fees when editing profile
|
2014-08-19 16:43:18 +10:00 |
|
Rohan Mitchell
|
a533daab96
|
Split sidebar into parts
|
2014-08-19 16:41:49 +10:00 |
|
Rohan Mitchell
|
4b42c28bd5
|
Refactor admin enterpriseCtrl - variable naming, if x then true else false antipattern
|
2014-08-19 16:34:56 +10:00 |
|
Rohan Mitchell
|
3e97762f7e
|
Remove unused producer options on hub tab, make logic consistently ordered
|
2014-08-19 16:23:05 +10:00 |
|
Rohan Mitchell
|
79387d3d82
|
On admin enterprises listing page, do not show links to pages without perms
|
2014-08-19 16:15:17 +10:00 |
|
Rohan Mitchell
|
2706c0e47e
|
Extract enterprise actions to partial
|
2014-08-19 16:11:20 +10:00 |
|
Rohan Mitchell
|
5dc7d1ee11
|
For users without product management perms, show a cut-down admin dashboard
|
2014-08-19 16:02:11 +10:00 |
|
Rohan Mitchell
|
9451f3659c
|
Use pluralize helper, sentence case
|
2014-08-19 15:41:01 +10:00 |
|
Rohan Mitchell
|
e1a1b74f03
|
Extract dashboard enterprises table markup into partials
|
2014-08-19 14:49:20 +10:00 |
|
Rohan Mitchell
|
50e4c5fac9
|
Users with only a profile-level enterprise see only menu items for enterprise management
|
2014-08-19 14:26:45 +10:00 |
|
Rohan Mitchell
|
abe592c9a3
|
Allow Reports admin tab to be enabled/disabled through cancan :report resource
|
2014-08-19 14:22:19 +10:00 |
|
Rohan Mitchell
|
0e6cd30e7e
|
Edit for clarity
|
2014-08-19 13:27:45 +10:00 |
|
Rohan Mitchell
|
732a61664f
|
Split abilities into enterprises/products/relationships
|
2014-08-19 13:21:20 +10:00 |
|
Rohan Mitchell
|
a858c21296
|
Enterprise has a type (full, single, profile), editable by admin
|
2014-08-19 11:37:31 +10:00 |
|
Rohan Mitchell
|
2660ffd459
|
Fix duplicate enterprise role
|
2014-08-16 16:33:07 +10:00 |
|
Rohan Mitchell
|
a0a752a3b1
|
Don't re-create FK
|
2014-08-15 17:34:24 +10:00 |
|
Rohan Mitchell
|
63f9abdf5c
|
Add CSS3 animations to enterprise roles admin
|
2014-08-15 16:09:06 +10:00 |
|
Rohan Mitchell
|
9ddfb1584b
|
Admin can delete enterprise roles
|
2014-08-15 16:09:06 +10:00 |
|
Rohan Mitchell
|
95a0bf39f7
|
Enterprise roles must be unique
|
2014-08-15 16:09:05 +10:00 |
|
Rohan Mitchell
|
6e17f0aaa2
|
Admin can create enterprise roles
|
2014-08-15 16:09:05 +10:00 |
|