1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/app/Ninja/Repositories
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
..
AccountGatewayRepository.php Changed gateway_fee_location to gateway_fee_enabled 2017-03-26 10:37:32 +03:00
AccountRepository.php This PR implements Create/View/Edit permissions based on ENTITY TYPE (ie invoice/expense/client). (#2150) 2018-06-07 20:08:34 +10:00
ActivityRepository.php Support purging clients 2018-03-14 19:51:49 +02:00
BankAccountRepository.php Improvements to OFX 2017-07-11 13:22:11 +03:00
BaseRepository.php php-cs-fixer cleanup 2017-01-30 21:40:43 +02:00
ClientRepository.php Changes for Zapier CLI 2018-05-06 22:45:47 +03:00
ContactRepository.php Support importing Stripe customer cards 2017-08-31 15:55:15 +03:00
CreditRepository.php XSS fixes 2017-08-04 16:39:11 +03:00
CustomerRepository.php Support importing Stripe customer cards 2017-08-31 15:55:15 +03:00
DashboardRepository.php Working on projects 2017-12-24 23:54:19 +02:00
DocumentRepository.php Proposals 2018-02-13 12:06:50 +02:00
ExpenseCategoryRepository.php php-cs-fixer cleanup 2017-01-30 21:40:43 +02:00
ExpenseRepository.php Fix expense datatable on client overview 2018-05-08 22:54:12 +03:00
InvoiceRepository.php Add line break to log message 2018-04-29 09:38:22 +03:00
NinjaRepository.php Fix for pro plan 2018-03-16 12:15:16 +02:00
PaymentRepository.php working on payment currency 2017-11-19 11:55:01 +02:00
PaymentTermRepository.php Working on supporting custom payment terms 2017-02-26 11:39:25 +02:00
ProductRepository.php Add ability to hook into Product view 2018-05-03 10:31:28 -04:00
ProjectRepository.php Added new project fields 2017-12-24 17:23:43 +02:00
ProposalCategoryRepository.php Working on proposals 2018-01-31 16:33:33 +02:00
ProposalRepository.php Proposals 2018-02-11 11:14:47 +02:00
ProposalSnippetRepository.php Add proposals to tests 2018-02-13 18:08:17 +02:00
ProposalTemplateRepository.php Proposals 2018-02-04 23:50:57 +02:00
RecurringExpenseRepository.php Add notes in datatables 2017-10-14 20:55:37 +03:00
ReferralRepository.php Multi-db fixes 2017-05-14 12:11:38 +03:00
SubscriptionRepository.php Working on UBL 2018-01-11 09:58:43 +02:00
TaskRepository.php Changes for Zapier CLI 2018-05-06 22:45:47 +03:00
TaxRateRepository.php Support importing line items taxes 2017-07-31 19:22:29 +03:00
TokenRepository.php php-cs-fixer cleanup 2017-01-30 21:40:43 +02:00
UserRepository.php php-cs-fixer cleanup 2017-01-30 21:40:43 +02:00
VendorContactRepository.php php-cs-fixer cleanup 2017-01-30 21:40:43 +02:00
VendorRepository.php Add notes in datatables 2017-10-14 20:55:37 +03:00