feat(approvals): add a People page, leave channel approvals unchanged, make a binding's target optional (#2072)
This commit is contained in:
8 files changed
+214
-10
No files matched your search
@@ -612,7 +612,7 @@ func (m *Module) capabilities(ctx context.Context, _ *struct{}) (*httpapi.Reply[
|
||||
p, signedIn := PrincipalFromContext(ctx)
|
||||
sections := map[string]bool{"chat": signedIn, "memory": signedIn}
|
||||
for _, name := range []string{
|
||||
"settings", "events", "workflows", "runs", "credentials", "extensions", "secret_engines", "models", "controls", "memory_admin",
|
||||
"settings", "org_people", "events", "workflows", "runs", "credentials", "extensions", "secret_engines", "models", "controls", "memory_admin",
|
||||
} {
|
||||
sections[name] = p.InstanceAdmin()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user