def get_all(self, requester_user):
        """
        List all the available permission types.

        Handles requests:
            GET /rbac/permission_types
        """
        rbac_utils = get_rbac_backend().get_utils_class()
        rbac_utils.assert_user_is_admin(user_db=requester_user)

        result = get_resource_permission_types_with_descriptions()
        return result

        List all the available permission types.

        Handles requests:
            GET /rbac/permission_types
        
st2api/st2api/controllers/v1/rbac.py