Skip to content

Add ASSET_OWNER role with OAuth registration and resource permissions#3085

Closed
Lifeng-Chen wants to merge 10 commits into
developfrom
clf/lianyong_asset_owner
Closed

Add ASSET_OWNER role with OAuth registration and resource permissions#3085
Lifeng-Chen wants to merge 10 commits into
developfrom
clf/lianyong_asset_owner

Conversation

@Lifeng-Chen
Copy link
Copy Markdown

No description provided.

…rthbound knowledge APIs

* Introduce ASSET_OWNER role with virtual tenant scope (asset_owner_tenant_id) and invitation bootstrap flow
* Add/adjust role permissions and tenant migrations for ASSET_OWNER-scoped resources (agents, skills, models, tools, invitations)
* Enforce visibility rules: hide ASSET_OWNER agent prompts for non-ASSET_OWNER callers (prompts_hidden) and restrict ASSET_OWNER skills/docs/files to asset-owner scope
* Tighten attachment access control for attachments/asset_owner/{user_id} while keeping knowledge_base files readable for authenticated users
* Refine /nb/v1/knowledge endpoints and parameters for index and file operations (list/create/delete indices, list files, delete documents, upload/download)
Merge develop's effectiveIndexName fallback for chunk CRUD/search APIs
while keeping embedding model mismatch validation before hybrid search.
- Add tenant_id migration and asset owner permissions/menu SQL
- Expose northbound knowledge/vector database updates for asset owner visibility
- Add backend auth/utils and invitation/agent/user management services
- Update invitation list UI
- Add tenant_id migration and asset owner permissions/menu SQL
- Expose northbound knowledge/vector database updates for asset owner visibility
- Add backend auth/utils and invitation/agent/user management services
- Update invitation list UI
- Add tenant_id migration and asset owner permissions/menu SQL
- Expose northbound knowledge/vector database updates for asset owner visibility
- Add backend auth/utils and invitation/agent/user management services
- Update invitation list UI
- Add tenant_id migration and asset owner permissions/menu SQL
- Expose northbound knowledge/vector database updates for asset owner visibility
- Add backend auth/utils and invitation/agent/user management services
- Update invitation list UI
- Add tenant_id migration and asset owner permissions/menu SQL
- Expose northbound knowledge/vector database updates for asset owner visibility
- Add backend auth/utils and invitation/agent/user management services
- Update invitation list UI
…_owner

# Conflicts:
#	frontend/app/[locale]/tenant-resources/components/UserManageComp.tsx
…lists

- Block email/password registration for ASSET_OWNER invites; complete signup via OAuth
- Merge ASSET_OWNER-scoped agents into /agent/list and published-agent list for other tenants
- Add v2.2.0 migration for SU asset-owner invite permissions and ASSET_OWNER nav/CRUD RBAC
- Frontend: map virtual tenant_id for ASSET_OWNER sessions and show OAuth-only signup error
@Lifeng-Chen Lifeng-Chen self-assigned this May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant