Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security refactor #871

Merged
merged 7 commits into from
Dec 27, 2024
Merged

Security refactor #871

merged 7 commits into from
Dec 27, 2024

Conversation

stwalkerster
Copy link
Member

@stwalkerster stwalkerster commented Oct 3, 2023

This change does a general refactor of our security, roles and identification code.

The overall goal of this refactor is to make the security code more testable via unit tests, and as a result this change also introduces a bunch more unit tests on the security code. We also make the "user" role implicit in this change, as there's no (current) need for this to be toggle-able.

As this is a change to the security code, please treat this as a risky change.

@stwalkerster stwalkerster changed the base branch from master to startup October 3, 2023 22:08
@stwalkerster stwalkerster force-pushed the multiproject/local-access branch from 767924b to a1393c9 Compare November 3, 2023 00:40
@stwalkerster stwalkerster force-pushed the multiproject/local-access branch from a1393c9 to ef6c21d Compare December 18, 2023 19:49
@stwalkerster stwalkerster force-pushed the multiproject/local-access branch from ef6c21d to fc08d3f Compare December 18, 2023 19:54
@stwalkerster stwalkerster force-pushed the startup branch 2 times, most recently from e042301 to d364a3c Compare December 18, 2023 20:05
@stwalkerster stwalkerster force-pushed the multiproject/local-access branch from fc08d3f to 3bfdde3 Compare December 18, 2023 20:07
Base automatically changed from startup to master February 25, 2024 03:54
@stwalkerster stwalkerster force-pushed the multiproject/local-access branch 2 times, most recently from 04d3ff1 to e116286 Compare March 15, 2024 00:03
@stwalkerster stwalkerster changed the title Multiproject/local access Security refactor Mar 15, 2024
@stwalkerster stwalkerster force-pushed the multiproject/local-access branch from e116286 to b11ab67 Compare March 15, 2024 00:09
@stwalkerster stwalkerster added the actually quite difficult This task has technical intricacies which mean it needs analysis by someone familiar with the system label Mar 15, 2024
@stwalkerster stwalkerster marked this pull request as ready for review March 15, 2024 00:10
@FastLizard4 FastLizard4 self-requested a review March 15, 2024 15:23
@stwalkerster stwalkerster force-pushed the multiproject/local-access branch from b11ab67 to 9989485 Compare May 27, 2024 10:26
@stwalkerster stwalkerster changed the base branch from master to tos-privacy May 27, 2024 10:26
@stwalkerster stwalkerster force-pushed the tos-privacy branch 3 times, most recently from e15b888 to 3b01d66 Compare May 30, 2024 12:13
Base automatically changed from tos-privacy to master May 31, 2024 07:03
This means RoleConfigurationBase is easily testable, and
RoleConfiguration *only* holds the production configuration.

Also, yay 100% test coverage on RoleConfigurationBase.
As a bonus, this gets us to 100% test coverage for SecurityManager
@stwalkerster stwalkerster force-pushed the multiproject/local-access branch from 9989485 to 6fe0c74 Compare December 27, 2024 00:43
@stwalkerster stwalkerster merged commit 6fe0c74 into master Dec 27, 2024
4 checks passed
@stwalkerster stwalkerster deleted the multiproject/local-access branch December 27, 2024 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actually quite difficult This task has technical intricacies which mean it needs analysis by someone familiar with the system
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants