Skip to content

Move authorization checks outside of the backend "auth" adapter

This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/patch succeeded Sep 28, 2023 in 1s

90.20% of diff hit (target 88.74%)

View this Pull Request on Codecov

90.20% of diff hit (target 88.74%)

Annotations

Check warning on line 14 in admin/app/components/solidus_admin/base_component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/base_component.rb#L14

Added line #L14 was not covered by tests

Check warning on line 16 in admin/app/components/solidus_admin/base_component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/base_component.rb#L16

Added line #L16 was not covered by tests

Check warning on line 19 in admin/app/components/solidus_admin/base_component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/base_component.rb#L18-L19

Added lines #L18 - L19 were not covered by tests

Check warning on line 21 in admin/app/components/solidus_admin/base_component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/base_component.rb#L21

Added line #L21 was not covered by tests

Check warning on line 57 in admin/app/components/solidus_admin/orders/index/component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/orders/index/component.rb#L57

Added line #L57 was not covered by tests

Check warning on line 70 in admin/app/components/solidus_admin/products/index/component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/products/index/component.rb#L70

Added line #L70 was not covered by tests

Check warning on line 103 in admin/app/components/solidus_admin/products/index/component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/products/index/component.rb#L103

Added line #L103 was not covered by tests

Check warning on line 105 in admin/app/components/solidus_admin/products/index/component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/products/index/component.rb#L105

Added line #L105 was not covered by tests

Check warning on line 17 in admin/app/components/solidus_admin/products/show/component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/products/show/component.rb#L16-L17

Added lines #L16 - L17 were not covered by tests

Check warning on line 23 in admin/app/components/solidus_admin/products/show/component.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/components/solidus_admin/products/show/component.rb#L23

Added line #L23 was not covered by tests

Check warning on line 20 in admin/app/controllers/solidus_admin/authentication_adapters/backend.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/controllers/solidus_admin/authentication_adapters/backend.rb#L20

Added line #L20 was not covered by tests

Check warning on line 24 in admin/app/controllers/solidus_admin/authentication_adapters/backend.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/controllers/solidus_admin/authentication_adapters/backend.rb#L24

Added line #L24 was not covered by tests

Check warning on line 26 in admin/app/controllers/solidus_admin/controller_helpers/authorization.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/controllers/solidus_admin/controller_helpers/authorization.rb#L26

Added line #L26 was not covered by tests

Check warning on line 18 in admin/app/controllers/solidus_admin/controller_helpers/locale.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/controllers/solidus_admin/controller_helpers/locale.rb#L17-L18

Added lines #L17 - L18 were not covered by tests

Check warning on line 21 in admin/app/controllers/solidus_admin/controller_helpers/locale.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/app/controllers/solidus_admin/controller_helpers/locale.rb#L20-L21

Added lines #L20 - L21 were not covered by tests

Check warning on line 27 in admin/lib/generators/solidus_admin/component/component_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/component/component_generator.rb#L25-L27

Added lines #L25 - L27 were not covered by tests

Check warning on line 99 in admin/lib/generators/solidus_admin/component/component_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/component/component_generator.rb#L99

Added line #L99 was not covered by tests

Check warning on line 101 in admin/lib/generators/solidus_admin/component/component_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/component/component_generator.rb#L101

Added line #L101 was not covered by tests

Check warning on line 127 in admin/lib/generators/solidus_admin/component/component_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/component/component_generator.rb#L127

Added line #L127 was not covered by tests

Check warning on line 6 in admin/lib/generators/solidus_admin/install/install_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/install/install_generator.rb#L3-L6

Added lines #L3 - L6 were not covered by tests

Check warning on line 8 in admin/lib/generators/solidus_admin/install/install_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/install/install_generator.rb#L8

Added line #L8 was not covered by tests

Check warning on line 17 in admin/lib/generators/solidus_admin/install/install_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/install/install_generator.rb#L10-L17

Added lines #L10 - L17 were not covered by tests

Check warning on line 21 in admin/lib/generators/solidus_admin/install/install_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/install/install_generator.rb#L19-L21

Added lines #L19 - L21 were not covered by tests

Check warning on line 25 in admin/lib/generators/solidus_admin/install/install_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/install/install_generator.rb#L23-L25

Added lines #L23 - L25 were not covered by tests

Check warning on line 29 in admin/lib/generators/solidus_admin/install/install_generator.rb

See this annotation in the file changed.

@codecov codecov / codecov/patch

admin/lib/generators/solidus_admin/install/install_generator.rb#L27-L29

Added lines #L27 - L29 were not covered by tests