restructure and process additions and deleteions of relationships, roles and memberships

This commit is contained in:
Mike Mason
2023-07-17 15:36:52 +00:00
parent 10f45c56a0
commit 2f9f0675f9
9 changed files with 441 additions and 218 deletions

View File

@@ -39,7 +39,7 @@ func WithPermissionsClient(client *permissions.Client) Option {
}
// WithPrefixMap sets the id prefix map relating id prefixes to type names.
func WithPrefixMap(idMap map[string]string) Option {
func WithPrefixMap(idMap map[string]ObjectType) Option {
return func(s *service) error {
s.idPrefixMap = idMap