BuiltinScopeNames returns the list of built-in high-level scope names defined in this package (e.g., "all", "application_connect"). The result is sorted for deterministic ordering in code generation and tests.
()
| 121 | // defined in this package (e.g., "all", "application_connect"). The result |
| 122 | // is sorted for deterministic ordering in code generation and tests. |
| 123 | func BuiltinScopeNames() []ScopeName { |
| 124 | names := make([]ScopeName, 0, len(builtinScopes)) |
| 125 | for name := range builtinScopes { |
| 126 | names = append(names, name) |
| 127 | } |
| 128 | slices.Sort(names) |
| 129 | return names |
| 130 | } |
| 131 | |
| 132 | // Composite coder:* scopes expand to multiple low-level resource:action permissions |
| 133 | // at Site level. These names are persisted in the DB and expanded during |
no outgoing calls
no test coverage detected