David Bomba
aefe133ba0
fix permissions ( #2637 )
2019-01-30 22:25:37 +11:00
David Bomba
5ccf7369ca
Rebase to v4.5.9
2019-01-30 21:45:46 +11:00
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
4a3529b523
When restoring client show view not edit page
2017-06-04 22:29:27 +03:00
Hillel Coren
c0fbaf1e89
php-cs-fixer cleanup
2017-01-30 21:40:43 +02:00
Hillel Coren
9398c45b56
Prevent changing credit's client
2016-12-04 12:24:48 +02:00
Hillel Coren
7f72836aad
Make larger area clickable in datatable header
2016-11-30 20:33:05 +02:00
Hillel Coren
55340b8d13
Support editing credits
2016-11-30 20:21:50 +02:00
Hillel Coren
ae28c3c5c3
Working on bulk list changes
2016-11-27 11:46:32 +02:00
Hillel Coren
5c6c9e399b
Working on datatables
2016-11-24 11:41:11 +02:00
Hillel Coren
8bac6b6c27
Working on adding bulk actions to client page
2016-11-24 11:22:37 +02:00
Hillel Coren
498578cefc
Rollback to 2.6.5
2016-07-21 15:35:23 +03:00
Hillel Coren
b233aa0744
Merge branch 'release-2.6'
...
Conflicts:
.travis.yml
CONTRIBUTING.md
README.md
app/Http/Controllers/AccountController.php
app/Http/Controllers/AppController.php
app/Http/Controllers/BaseAPIController.php
app/Http/Controllers/CreditController.php
app/Http/Controllers/DashboardController.php
app/Http/Controllers/DocumentController.php
app/Http/Controllers/PaymentController.php
app/Http/Controllers/QuoteApiController.php
app/Http/Requests/EntityRequest.php
app/Http/routes.php
app/Listeners/AnalyticsListener.php
app/Models/Account.php
app/Models/Credit.php
app/Models/Document.php
app/Models/EntityModel.php
app/Models/Expense.php
app/Models/Invoice.php
app/Models/Task.php
app/Models/VendorContact.php
app/Ninja/Notifications/PushFactory.php
app/Ninja/Repositories/DocumentRepository.php
app/Ninja/Repositories/ExpenseRepository.php
app/Ninja/Repositories/InvoiceRepository.php
app/Services/PushService.php
composer.json
composer.lock
database/migrations/2014_05_17_175626_add_quotes.php
database/seeds/UserTableSeeder.php
resources/lang/en/texts.php
resources/views/accounts/customize_design.blade.php
resources/views/accounts/invoice_design.blade.php
resources/views/accounts/management.blade.php
resources/views/expenses/edit.blade.php
resources/views/header.blade.php
resources/views/invoices/edit.blade.php
resources/views/master.blade.php
resources/views/payments/payment.blade.php
resources/views/users/edit.blade.php
2016-07-11 23:33:58 +03:00
Hillel Coren
0dc9b3fceb
Made 'viewable' scope default behavior
2016-07-04 19:49:01 +03:00
Holger Lösken
0fbda85a59
Code Refactoring
...
- Removed unused uses
- Type hinting for method parameters
- Removed commented code
- Introduced comments for classes and methods
- Short array syntax
2016-07-03 16:19:22 +00:00
Hillel Coren
40241cbf38
Restrict client list
2016-06-08 17:56:48 +03:00
Hillel Coren
f67990d636
Restrict client list
2016-06-08 17:56:13 +03:00
Hillel Coren
05bd8d9318
Moving permissions to form requests
2016-05-01 14:31:10 +03:00
Hillel Coren
9979eba5d9
Working on custom route model binding
2016-04-28 15:16:33 +03:00
Joshua Dwire
fc0d4d3edd
Finish migrating to Laravel ACL
2016-04-25 21:53:39 -04:00
Joshua Dwire
0148d06205
Add user permission support
2016-03-15 19:08:00 -04:00
Hillel Coren
aef4c6be98
Upgrade to Laravel 5.2
2016-03-02 15:36:42 +02:00
rafael.sisweb
c182b67408
Remove action header again
2015-11-30 06:29:43 -05:00
rafael.sisweb
5888fdf12a
Missing action header on datatables
2015-11-24 06:59:30 -05:00
Hillel Coren
002c994c0b
Refactoring datatable code
2015-11-06 01:14:00 +02:00
Hillel Coren
436b8be8d9
Refactoring datatable code
2015-11-06 00:37:04 +02:00
Hillel Coren
72c7cbb237
Added 'apply credit' action
2015-11-04 09:48:47 +02:00
Hillel Coren
404435a145
Refactored to events
2015-10-28 21:22:07 +02:00
Hillel Coren
bc10719fbe
Added support for custom subdomains
2015-04-28 23:13:52 +03:00
Hillel Coren
0e2eba4521
Bug fixes
2015-04-12 12:43:51 +03:00
Hillel Coren
4750bacd71
Reworked query caching for L5
2015-04-08 16:19:17 +03:00
Hillel Coren
194eb9e28a
Working on L5
2015-04-01 18:44:55 +03:00
Jeramy Simpson
1080d9e2f6
L5 Syntax Changes and Namespacing
2015-03-26 16:24:02 +10:00
Jeramy Simpson
6ae6a29117
Fix Ninja Namespace
...
Also includes other minor clean ups and L5 syntax changes
2015-03-24 18:21:12 +10:00
Jeramy Simpson
9af731545c
Update Namespaces & Syntax
2015-03-17 11:30:56 +10:00
Jeramy Simpson
04c392136e
Add Files
2015-03-17 07:45:25 +10:00