src/OrchardCore.Modules/OrchardCore.Contents/Security/ContentTypePermissions.cs
/// <summary>
/// Returns a dynamic permission for a content type, based on a global content permission template
/// </summary>
Returns a dynamic permission for a content type, based on a global content permission template
Returns a dynamic permission for a content type based on a global content permission template
public static Permission ConvertToDynamicPermission(Permission permission)
        {
            if (PermissionTemplates.TryGetValue(permission.Name, out var result))
            {
                return result;
            }
            return null;
        }
public static Permission ConvertToDynamicPermission ( Permission permission ) { if ( PermissionTemplates . TryGetValue ( permission . Name , out var result ) ) { return result ; } return null ; }
Returns a dynamic permission for a content type, based on a global content permission template
Returns a dynamic permission for a content type based on a global content permission template
permission
Permission