20 lines
805 B
C#
20 lines
805 B
C#
using System.Web.Mvc;
|
|
using Kreta.BusinessLogic.Security;
|
|
using Kreta.Web.Areas.Tanulo.Models;
|
|
using Kreta.Web.Security;
|
|
|
|
namespace Kreta.Web.Areas.Tanulo.Controllers
|
|
{
|
|
[MvcRoleClaimsAuthorize(true)]
|
|
[MvcRolePackageDenyAuthorize(KretaClaimPackages.IsOnlyAlkalmozott.ClaimValue, KretaClaimPackages.IsDualisKepzohelyiOktato.ClaimValue)]
|
|
[MvcRolePackageAuthorize(KretaClaimPackages.Tanar.ClaimValue)]
|
|
public class TanarNemTanitottTanulokController : Controller
|
|
{
|
|
public ActionResult Index()
|
|
{
|
|
var model = new TanarNemTanitottTanulokSearchModel();
|
|
model.EnableRowFunctions = ClaimData.FelhasznaloSzerepCsomagok.Contains(KretaClaimPackages.FelhasznaloMunkakoreNemTiltoListas.ClaimValue);
|
|
return View("Index", model);
|
|
}
|
|
}
|
|
}
|