Adds a function in models to grab permissions.
Also adds ability to view permissions as other.