Skip to content

Using this changes all granular permissions #7

Description

@caleb-reyes-op

Idk if there is an easy way around this, but since snip gets prepended to all commands, it breaks all the bash permissions that might be set up i.e.:

{
      "*": "ask",
      "git status *": "allow",
      "git log *": "allow",
      "git diff *": "allow",
      "git branch *": "allow",
      "git remote *": "allow",
      "git show *": "allow",
      "git rev-parse *": "allow",
      "git ls-files *": "allow",
      "linear issue list *": "allow",
      "linear issue view *": "allow",
      "linear issue describe *": "allow",
      "linear issue url *": "allow",
      "linear team list *": "allow",
      "linear project list *": "allow",
      "linear project view *": "allow",
      "linear api *": "allow",
      "gh issue list *": "allow",
      "gh issue view *": "allow",
      "gh pr list *": "allow",
      "gh pr view *": "allow",
      "gh pr diff *": "allow",
      "gh pr checks *": "allow",
      "gh search *": "allow",
      "gh api *": "allow",
      "gh repo list *": "allow",
      "gh repo view *": "allow",
      "gh browse *": "allow",
      "gh status *": "allow",
      "gh auth status *": "allow",
      "mcporter list *": "allow",
      "mcporter call *": "allow",
      "mcporter config get *": "allow",
      "mcporter config list *": "allow",
      "openspec list *": "allow",
      "openspec show *": "allow",
      "openspec view *": "allow",
      "openspec status *": "allow",
      "openspec validate *": "allow",
      "openspec config *": "allow",
      "openspec spec show *": "allow",
      "openspec spec list *": "allow",
      "openspec spec validate *": "allow",
      "openspec change show *": "allow",
      "openspec change list *": "allow",
      "openspec change validate *": "allow",
      "openspec instructions *": "allow",
      "openspec templates *": "allow",
      "openspec schemas *": "allow",
      "pnpm run typecheck:fast *": "allow",
      "pnpm run eslint:fast *": "allow",
      "pnpm run test:fast *": "allow",
      "pnpm run verify:fast *": "allow",
      "cat *": "allow",
      "ls *": "allow",
      "head *": "allow",
      "tail *": "allow",
      "which *": "allow",
      "echo *": "allow",
      "pwd": "allow",
      "whoami": "allow",
      "cd *": "allow",
      "date *": "allow",
      "env *": "allow",
      "printenv *": "allow",
      "type *": "allow",
      "command *": "allow",
      "basename *": "allow",
      "dirname *": "allow",
      "realpath *": "allow",
      "readlink *": "allow",
      "find *": "allow",
      "grep *": "allow",
      "wc *": "allow",
      "sort *": "allow",
      "uniq *": "allow",
      "cut *": "allow",
      "awk *": "allow",
      "sed *": "allow",
      "jq *": "allow",
      "tree *": "allow",
      "file *": "allow",
      "stat *": "allow",
      "du *": "allow",
      "df *": "allow",
      "history *": "allow",
      "test *": "allow",
      "[ *": "allow",
      "printf *": "allow",
      "seq *": "allow",
      "true": "allow",
      "false": "allow",
      "sleep *": "allow",
      "time *": "allow",
      "uname *": "allow",
      "hostname *": "allow",
      "locale *": "allow",
      "uptime *": "allow",
      "id *": "allow",
      "groups *": "allow",
      "ps *": "allow",
      "jobs *": "allow",
      "dirs *": "allow",
      "pushd *": "allow",
      "popd *": "allow"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions