* 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
* extract PortRelatedModel and DeviceRelatedModel * add scope for inDeviceGroup * handle null device group