9 Commits

Author SHA1 Message Date
David Bomba
a9f2d0d855
This PR implements Create/View/Edit permissions based on ENTITY TYPE (ie invoice/expense/client). (#2150)
* migration for new permissions schema

* update permissions across data tables

* refactor migrations to prevent duplicate attribute

* update permissions in views

* Product Permissions

* permissions via controllers

* Refactor to use Laravel authorization gate

* Doc Blocks for EntityPolicy

* check permissions conditional on create new client

* Bug Fixes

* Data table permissions

* working on UI

* settings UI/UX finalised

* Datatable permissions

* remove legacy permissions

* permission fix for viewing client

* remove all instances of viewByOwner

* refactor after PR

* Bug fix for Functional test and implementation of Functional tests for Permissions

* fix for tests
2018-06-07 20:08:34 +10:00
Hillel Coren
d27eb414c6 Proposals 2018-02-09 16:35:36 +02:00
Hillel Coren
427c5c3721 Proposals 2018-02-04 23:50:57 +02:00
Hillel Coren
2000e66c9d Proposals 2018-02-04 23:41:48 +02:00
Hillel Coren
cb54e9e8b7 Proposals 2018-02-04 18:47:55 +02:00
Hillel Coren
59143f3526 Proposals 2018-02-04 18:42:13 +02:00
Hillel Coren
1474627dda Proposals 2018-02-04 17:31:45 +02:00
Hillel Coren
7618053c60 Proposals 2018-02-04 17:16:55 +02:00
Hillel Coren
7c3cbc3a7e Working on proposals 2018-01-30 20:58:55 +02:00