Updated permissions.sql