Added method to retrieveall available permissions.