Abdullah Alansari
08781a561b
Fix: use global scope for companies support
...
Use Eloquent ORM global scope instead of using
Company::scopeCompanayables() all over the place.
In addition, this makes it harder to for a user
that is assigned to a company to access unauthorized
assets through other entities (e.g: license seats)
2015-11-18 16:49:34 +03:00
Abdullah Alansari
b202e01205
Add full multiple companies support
...
Added as an option in settings.
When enabled, users (including admins) who are assigned
to companies have access only to their companies' assets.
2015-11-16 06:03:27 +03:00
Abdullah Alansari
23d10a8f7f
Make company field optional
...
Company field is now optional for the user,
although still required in the controllers.
2015-11-13 09:19:18 +03:00
Abdullah Alansari
6bf2a2875f
Add initial support for multiple companies
...
You can find screenshots and other files
related to the feature on Dropbox here:
https://www.dropbox.com/sh/wugnzqepwgzwlnh/AAAwNWA5hIKrP0y2VTu-LMHHa?dl=0
https://github.com/snipe/snipe-it/issues/23
2015-11-07 15:22:10 +03:00
snipe
f06af97364
Account for no limit or offset passed
2015-10-21 23:23:22 -07:00
snipe
5ff75e7f42
Merge remote-tracking branch 'origin/develop-bootstrap-tables-integration' into develop
...
# Conflicts:
# app/controllers/admin/CategoriesController.php
# app/views/backend/accessories/view.blade.php
# app/views/backend/categories/index.blade.php
# app/views/backend/settings/edit.blade.php
2015-10-21 23:06:43 -07:00
snipe
69c95f1f73
Merge pull request #1225 from ddreier/1088-acc-prices
...
Accessory and Consumable Price info #1088
2015-10-21 22:44:14 -07:00
snipe
0c830fa564
Added hidden ID column
2015-10-21 19:08:30 -07:00
snipe
b492ac4950
Merge branch 'bootstrap-table-experiment' into develop-bootstrap-tables-integration
...
# Conflicts:
# .gitignore
# app/controllers/admin/AccessoriesController.php
# app/controllers/admin/AssetsController.php
# app/controllers/admin/LicensesController.php
# app/models/Accessory.php
# app/models/Asset.php
# app/routes.php
# app/views/backend/accessories/index.blade.php
# app/views/backend/accessories/view.blade.php
# app/views/backend/hardware/index.blade.php
# app/views/backend/licenses/index.blade.php
2015-10-20 17:52:02 -07:00
Daniel Dreier
73d4c65daf
Finished work on #1088 . Added info to view, translation strings and logic to controllers.
2015-10-06 19:29:44 -05:00
snipe
4f74ad077a
Fixes #1136 - allow consumables to be deleted, even if they have been assigned
2015-10-06 16:08:32 -07:00
madd15
899e543173
Switch to new method
2015-08-18 16:12:23 +09:30
madd15
d62d6ebf05
Add extra fields for email
2015-07-24 09:28:17 +09:30
madd15
5ff84d80b4
Change user list from email to username
2015-07-20 10:16:58 +09:30
madd15
0fbccef759
Change user list to include email address
2015-07-16 10:23:28 +09:30
snipe
fd7d4eb3f2
Removed checkin for consumables
2015-06-22 17:57:44 -07:00
snipe
e4517a8782
Removed checkin for #782 , since that doesn't exist in consumables
2015-06-09 19:58:22 -07:00
snipe
19604480bb
Consumables section
...
TODO:
- Add checkout to location
- Drop Checkin (doesn't really exist in this context)
- Add missing strings - consolidate where possible. Lots of dupes :-/
2015-06-09 19:50:34 -07:00