* Initial stab at how this could look * Authorization PoC wip * Add connection manager * Add DI to its own class * Use enum instead of string * Use groups * Refactor group management into its own service * Update a users groups when it's saved * Add saved events * Wire up deleted notifications * Ensure update date and create date is the same * Cleanup * Minor cleanup * Remove unusued usings * Move route to constant * Add docstrings to server event router * Fix and suppress warnings * Refactor to authorizer pattern * Update EventType * Remove unused enums * Add trashed events * Notify current user that they've been updated * Add broadcast We don't need it, but seems like a thing that a server event router should be able to do. * Add ServerEventRouterTests * Add ServerEventUserManagerTests * Use TimeProvider * Remove principal null check * Don't assign event type * Minor cleanup * Rename AuthorizedEventSources * Change permission for relations * Exctract event authorization into its own service * Add some tests * Update name * Add forgotten file * Rmember to add to DI
67 lines
2.9 KiB
XML
67 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project>
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<Company>Umbraco HQ</Company>
|
|
<Authors>Umbraco</Authors>
|
|
<Copyright>Copyright © Umbraco $([System.DateTime]::Today.ToString('yyyy'))</Copyright>
|
|
<Product>Umbraco CMS</Product>
|
|
<PackageProjectUrl>https://umbraco.com/</PackageProjectUrl>
|
|
<PackageIconUrl>https://umbraco.com/dist/nuget/logo-small.png</PackageIconUrl>
|
|
<PackageIcon>icon.png</PackageIcon>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageTags>umbraco</PackageTags>
|
|
<NeutralLanguage>en-US</NeutralLanguage>
|
|
<Nullable>enable</Nullable>
|
|
<WarningsAsErrors>nullable</WarningsAsErrors>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!--
|
|
TODO: Fix and remove overrides:
|
|
[NU5104] Warning As Error: A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency
|
|
-->
|
|
<NoWarn>$(NoWarn),NU5104,SA1309</NoWarn>
|
|
<WarningsNotAsErrors>$(WarningsNotAsErrors),NU5104,SA1600</WarningsNotAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<!-- SourceLink -->
|
|
<PropertyGroup>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
</PropertyGroup>
|
|
|
|
<!-- Package Validation -->
|
|
<PropertyGroup>
|
|
<GenerateCompatibilitySuppressionFile>false</GenerateCompatibilitySuppressionFile>
|
|
<EnablePackageValidation>true</EnablePackageValidation>
|
|
<PackageValidationBaselineVersion>15.0.0</PackageValidationBaselineVersion>
|
|
<EnableStrictModeForCompatibleFrameworksInPackage>true</EnableStrictModeForCompatibleFrameworksInPackage>
|
|
<EnableStrictModeForCompatibleTfms>true</EnableStrictModeForCompatibleTfms>
|
|
</PropertyGroup>
|
|
|
|
<!-- Calculate version only once for the whole repository -->
|
|
<PropertyGroup>
|
|
<GitVersionBaseDirectory>$(MSBuildThisFileDirectory)</GitVersionBaseDirectory>
|
|
</PropertyGroup>
|
|
|
|
<!-- Include icon in generated NuGet packages -->
|
|
<ItemGroup>
|
|
<Content Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="" Visible="false" />
|
|
</ItemGroup>
|
|
|
|
<!-- Use version range on project references (to limit on major version in generated packages) -->
|
|
<Target Name="_GetProjectReferenceVersionRanges" AfterTargets="_GetProjectReferenceVersions">
|
|
<ItemGroup>
|
|
<_ProjectReferencesWithVersions Condition="'%(ProjectVersion)' != ''">
|
|
<ProjectVersion>[%(ProjectVersion), $([MSBuild]::Add($([System.Text.RegularExpressions.Regex]::Match('%(ProjectVersion)', '^\d+').Value), 1)))</ProjectVersion>
|
|
</_ProjectReferencesWithVersions>
|
|
</ItemGroup>
|
|
</Target>
|
|
</Project>
|