consul store item
(tenant string)
| 672 | // consul store item |
| 673 | |
| 674 | func NewDefaultRole(tenant string) *Role { |
| 675 | return &Role{ |
| 676 | Tenant: tenant, |
| 677 | Name: DefaultRole, |
| 678 | ObjectUsers: nil, |
| 679 | ObjectType: "all", |
| 680 | Authority: DefaultAdminAuth, |
| 681 | } |
| 682 | } |
| 683 | |
| 684 | type Role struct { |
| 685 | Tenant string `json:"tenant"` |