"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "canRunSurveyReport", {
    enumerable: true,
    get: function() {
        return canRunSurveyReport;
    }
});
const _ability = require("@casl/ability");
function canRunSurveyReport(ability, surveyId) {
    return ability.can('read', (0, _ability.subject)('Survey', {
        id: surveyId
    }));
}

//# sourceMappingURL=canRunSurveyReport.js.map