Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

More granular permissions for external workspace paths

Đang mở
#324 21 bình luận 4 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
clojure, json
Lĩnh vực
authorization, security

Hướng nghiên cứu

Read the related issues #36 and #153, then compare ECA’s permission handling with the linked OpenCode granular-permissions reference. The issue does not name ECA files or tests, so first locate the permission configuration and its coverage. Done means external-directory rules can whitelist or blacklist paths and prevent permission requests outside allowed paths.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

There are a copule relevant issues open: https://github.com/editor-code-assistant/eca/issues/36 and https://github.com/editor-code-assistant/eca/issues/153

It would be nice if permissions in general were more granular like in opencode. Opencode lets you configure for specific commands with wildcards as well as what files can be read/edited/etc.

I think particularly useful the external_directory config, which lets you blacklist or whitelist directories. I'd like to let eca ask for permission to look at other code repos, but I'd prefer if it couldn't even ask for permission to read anything else.

"external_directory": {
      "*": "deny",
      "~/src/**": "ask",
}
Ngôn ngữ chính
Clojure
Star
1k
Fork
82
Merge trung bình
1 ngày 19 giờ
Pull request đã merge (30 ngày)
18

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của editor-code-assistant/eca

Tất cả issue của editor-code-assistant/eca

Issue tương tự

Thêm issue về Clojure

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.