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

LMBQ-253: Adding Lombiq.LoginAsAnybody submodule #641

Merged
merged 12 commits into from
Dec 21, 2023
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Note that this solution also has an Orchard 1 counterpart, [Lombiq's Open-Source
- [`Lombiq.TrainingDemo`](https://github.com/Lombiq/Orchard-Training-Demo-Module): Demo Orchard Core module for training purposes guiding you to become an Orchard developer. Note that this module also has an Orchard 1.x version in the [`dev-orchard-1` branch of the repository](https://github.com/Lombiq/Orchard-Training-Demo-Module/tree/dev-orchard-1). If you prefer tutorial videos more then check out the [Dojo Course 3, the complete Orchard Core tutorial series](https://orcharddojo.net/orchard-training/dojo-course-3-the-full-orchard-core-tutorial).
- [`Lombiq.UIKit`](https://github.com/Lombiq/Orchard-UIKit): This module contains reusable shapes like text editors, custom-style checkboxes, dropdown editors, and in the future potentially more complex editors. [Here](https://www.youtube.com/watch?v=PONfn2K8AHg) you can also see a demo of it.
- [`Lombiq.VueJs`](https://github.com/Lombiq/Orchard-Vue.js): [Orchard Core](https://orchardproject.net/) module that contains [Vue.js](https://vuejs.org/) and commonly used Vue.js components to be used in other Vue.js apps as dependencies. Provides extensibility to create Vue.js component templates as Orchard Core shapes making them able to override in themes or modules.
- [`Lombiq.LoginAsAnybody`](https://github.com/Lombiq/Orchard-Login-as-Anybody): With the help of this module, a user with the site owner permission can log in as anybody on the admin dashboard.
DemeSzabolcs marked this conversation as resolved.
Show resolved Hide resolved

- Themes
- [`Lombiq.BaseTheme`](https://github.com/Lombiq/Orchard-Base-Theme): This theme contains infrastructure for custom Bootstrap 5 themes with standardized zones and built-in front end menu display.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"Lombiq.Hosting.Tenants.IdleTenantManagement.ShutDownIdleTenants",
"Lombiq.Hosting.Tenants.EmailQuotaManagement",
"Lombiq.JsonEditor",
"Lombiq.JsonEditor.ContentEditor",
"Lombiq.LoginAsAnybody",
"Lombiq.OSOCE.Samples",
// We only enable these on a specific test, because it overlaps with too many things.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ public BehaviorLoginAsAnybodyTests(ITestOutputHelper testOutputHelper)
[Fact]
public Task SwitchingUserShouldWorkCorrectly() =>
ExecuteTestAfterSetupAsync(context => context.TestLoginAsAnybodyAsync());

[Fact]
public Task PermissionCheckShouldWorkCorrectly() =>
ExecuteTestAfterSetupAsync(
context => context.TestLoginAsAnybodyAuthorizationAsync(),
changeConfiguration: Configurations.IgnoreUnauthorizedBrowserLogEntries);
}