Commit Graph

4 Commits

Author SHA1 Message Date
Tony Murray
0807add38c Fix device groups showing multiple times. (#10247)
Update hasAccess to not use a join.
Move into The Permissions facade so we only query the db once per page load for the permissions.
2019-05-23 10:03:00 -05:00
Tony Murray
3a275e5807 Fix bill permissions (#10005) 2019-03-20 09:23:06 -05:00
Tony Murray
666c909ca6 Fix permissions issues (#10004)
Handle numbers passed as strings
2019-03-20 08:33:47 -05:00
Tony Murray
00a1185980 New permissions code (#9986)
* Initial permissions

* initial tests

* updates

* finish tests, other tweaks

* update legacy permissions checks
remove global :D

* missed facade extend

* Update eloquent permissions to use the new facade and drop joins

* method descriptions

* more docs

* fix style
2019-03-19 08:14:01 -05:00