const permissions = {
    'ci-polls-plus': {
        // This API name comes from ./packages/runtimes/src/plugins/redditapi/apiMappings.ts
        Submit: true,
    },
    'polls-plus-test': {
        Submit: true,
    },
    'expanded-polls': {
        Submit: true,
    },
    'pixelary-game': {
        Submit: true,
    },
    'community-hub': {
        Submit: true,
        Compose: true,
    },
    'countdown-post': {
        Submit: true,
    },
    'bingo-post': {
        Submit: true,
        Comment: true,
    },
    'eurovision-bingo': {
        Submit: true,
        Comment: true,
    },
    circleoftrustapp: {
        Submit: true,
    },
    orteco: {
        Submit: true,
    },
    'title-tweaker': {
        Submit: true,
    },
    'modqueue-nuke': {
        Approve: true,
        Remove: true,
    },
    'spot-comments': {
        Submit: true,
        Comment: true,
    },
    'spottit-game': {
        Submit: true,
        Comment: true,
    },
    'daily-thread': {
        Submit: true,
    },
    'fundraisers-app': {
        Submit: true,
    },
    banhammerapp: {
        Remove: true,
        TempBan: true,
        Unban: true,
        DeleteNotes: true,
        GetNotes: true,
        PostNotes: true,
        PostRemovalNote: true,
        RecentNotes: true,
    },
};
export function shouldRunAsUser(appName, methodName) {
    return Boolean(permissions[appName]?.[methodName]);
}
