Groups should return a map from group UUIDs (as strings) to the role they are being assigned. Additionally, it should return a string that will be used as the field name for the ValidationErrors returned from Validate.
()
| 20 | // are being assigned. Additionally, it should return a string that will be |
| 21 | // used as the field name for the ValidationErrors returned from Validate. |
| 22 | Groups() (map[string]Role, string) |
| 23 | // ValidateRole should return an error that will be used in the |
| 24 | // ValidationError if the role is invalid for the corresponding resource type. |
| 25 | ValidateRole(role Role) error |
no outgoing calls