Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

479 B
Raw Blame
#nullable enable

using Grand.Web.AdminShared.Interfaces;

namespace Grand.Web.AdminShared.Services;

public class GlobalAdminDataScope<TEntity> : IAdminDataScope<TEntity>
{
    public Task<bool> HasAccess(TEntity entity) => Task.FromResult(true);

    public string? DefaultStoreId => null;

    public string ResourceKeyPrefix => "Admin";

    public bool ShowStoreSelector => true;

    public string? DefaultVendorId => null;

    public bool CanFeatureOnHomepage => true;
}