-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #456 from Strongminds/release/10.0.0
Release/10.0.0
- Loading branch information
Showing
667 changed files
with
30,446 additions
and
15,266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace Core.Abstractions.Types | ||
{ | ||
public class DetailedOperationError<TDetail> : OperationError | ||
{ | ||
public DetailedOperationError(OperationFailure failureType, TDetail detail, string message = null) | ||
: base(message, failureType) | ||
{ | ||
Detail = detail; | ||
} | ||
|
||
public TDetail Detail { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...icationServices/Authorization/Permissions/ImportHierarchyFromStsOrganizationPermission.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Core.DomainModel.Organization; | ||
|
||
namespace Core.ApplicationServices.Authorization.Permissions | ||
{ | ||
public class ImportHierarchyFromStsOrganizationPermission : Permission | ||
{ | ||
public Organization Organization { get; } | ||
|
||
public ImportHierarchyFromStsOrganizationPermission(Organization organization) | ||
{ | ||
Organization = organization; | ||
} | ||
|
||
public override bool Accept(IPermissionVisitor permissionVisitor) | ||
{ | ||
return permissionVisitor.Visit(this); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.