(self)
| 45 | DANGER_FULL_ACCESS = 3 # 可以做任何事情(包括执行危险命令) |
| 46 | |
| 47 | def __str__(self): |
| 48 | names = {1: "read-only", 2: "workspace-write", 3: "danger-full-access"} |
| 49 | return names[self.value] |
| 50 | |
| 51 | |
| 52 | # 两个特殊模式(不属于等级,是行为模式) |
nothing calls this directly
no outgoing calls
no test coverage detected