-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
13 changed files
with
260 additions
and
176 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
11 changes: 2 additions & 9 deletions
11
src/OrchardCore.Modules/OrchardCore.Roles/Models/RolesDocument.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 |
---|---|---|
@@ -1,19 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using OrchardCore.Data.Documents; | ||
using OrchardCore.Security; | ||
using OrchardCore.Security.Permissions; | ||
|
||
namespace OrchardCore.Roles.Models | ||
{ | ||
public class RolesDocument : Document | ||
{ | ||
public List<Role> Roles { get; set; } = new List<Role>(); | ||
|
||
|
||
/// <summary> | ||
/// Keeps track of all permission that were automaticly assigned to a role using <see cref="IPermissionProvider"></see>/> | ||
/// </summary> | ||
public Dictionary<string, List<string>> PermissionGroups { get; set; } = new(StringComparer.OrdinalIgnoreCase); | ||
public List<Role> Roles { get; set; } = new(); | ||
public Dictionary<string, List<string>> MissingFeaturesByRole { get; set; } = new(); | ||
} | ||
} |
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.