()
| 221 | } |
| 222 | |
| 223 | func (c ChatFile) RBACObject() rbac.Object { |
| 224 | return rbac.ResourceChat.WithID(c.ID).WithOwner(c.OwnerID.String()).InOrg(c.OrganizationID) |
| 225 | } |
| 226 | |
| 227 | func (c GetChatFileMetadataByChatIDRow) RBACObject() rbac.Object { |
| 228 | return rbac.ResourceChat.WithID(c.ID).WithOwner(c.OwnerID.String()).InOrg(c.OrganizationID) |