hyrax
hyrax copied to clipboard
:bug: Fix for configurable model registration
Because the model registry for Collection and Administrative Sets weren't using the Hyrax configuration, incorrect mappings were observed which prevented the collection edit page from loading. In this commit we resolve this issue by using the Hyrax configuration in the model registry.
BEFORE:
AFTER:
Test Results
1 files - 8 1 suites - 8 0s :stopwatch: - 16m 41s 1 tests - 4 758 0 :white_check_mark: - 4 696 0 :zzz: - 63 1 :x: +1 1 707 runs - 4 784 1 706 :white_check_mark: - 4 722 0 :zzz: - 63 1 :x: +1
For more details on these failures, see this check.
Results for commit b1cbd69c. ± Comparison against base commit 4d2c654a.
This pull request removes 4759 and adds 1 tests. Note that renamed tests count towards both.
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007f3499610150>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007f349045ec48>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to destroy Hyrax::AdministrativeSet: 9591d9c7-9508-4ffd-b2be-f57a55ae9895
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to edit Hyrax::AdministrativeSet: efbb557d-140f-4a84-bab1-216093f8aca0
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to update Hyrax::AdministrativeSet: 476c198b-b1ef-41f1-b058-74449b22d305
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates as admin #admin? is true
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates as admin behaves like A user with additional access is expected to be able to create #<Hyrax::PermissionTemplate:0x00007f349961b2d0>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates as admin behaves like A user with additional access is expected to be able to create #<Hyrax::PermissionTemplateAccess:0x00007f34904c67d0>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates as admin behaves like A user with additional access is expected to be able to destroy Hyrax::AdministrativeSet: 38c0fa8d-3525-43af-bd71-457c16642117
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates as admin behaves like A user with additional access is expected to be able to edit Hyrax::AdministrativeSet: 691e909d-0a0a-448e-82fe-24e1b880f739
…
lib.wings.setup ‑ Layout/ExtraSpacing