()
| 631 | } |
| 632 | |
| 633 | func (l License) RBACObject() rbac.Object { |
| 634 | return rbac.ResourceLicense.WithIDString(strconv.FormatInt(int64(l.ID), 10)) |
| 635 | } |
| 636 | |
| 637 | func (c OAuth2ProviderAppCode) RBACObject() rbac.Object { |
| 638 | return rbac.ResourceOauth2AppCodeToken.WithOwner(c.UserID.String()) |
nothing calls this directly
no test coverage detected