()
| 560 | } |
| 561 | |
| 562 | func (m GetOrganizationIDsByMemberIDsRow) RBACObject() rbac.Object { |
| 563 | // TODO: This feels incorrect as we are really returning a list of orgmembers. |
| 564 | // This return type should be refactored to return a list of orgmembers, not this |
| 565 | // special type. |
| 566 | return rbac.ResourceUserObject(m.UserID) |
| 567 | } |
| 568 | |
| 569 | func (o Organization) RBACObject() rbac.Object { |
| 570 | return rbac.ResourceOrganization. |
nothing calls this directly
no test coverage detected