export const defaultPermissionPolicy = {
    allowShell: false,
    allowBrowser: false,
    allowDestructiveWrite: true,
};
export function describePolicy(policy) {
    return [
        `shell=${policy.allowShell ? "on" : "off"}`,
        `browser=${policy.allowBrowser ? "on" : "off"}`,
        `destructiveWrite=${policy.allowDestructiveWrite ? "on" : "off"}`,
    ].join(" ");
}
