Remove unused allows methods for permissions
Fixed a number of deprecations