()
| 225 | } |
| 226 | |
| 227 | func (c GetChatFileMetadataByChatIDRow) RBACObject() rbac.Object { |
| 228 | return rbac.ResourceChat.WithID(c.ID).WithOwner(c.OwnerID.String()).InOrg(c.OrganizationID) |
| 229 | } |
| 230 | |
| 231 | func (s APIKeyScope) ToRBAC() rbac.ScopeName { |
| 232 | switch s { |