#1 : Modification droit et ip Keycloak.
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
namespace Webzine.WebApplication.Controllers
|
||||
{
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
using Webzine.Entity;
|
||||
@@ -48,7 +47,6 @@ namespace Webzine.WebApplication.Controllers
|
||||
/// <param name="id">Identifiant du titre.</param>
|
||||
/// <param name="model">Model de donnée pour un commentaire.</param>
|
||||
/// <returns>Vue des details ou 404 si introuvable.</returns>
|
||||
[Authorize(Roles = "ADMIN")]
|
||||
public IActionResult Index(int id)
|
||||
{
|
||||
this.logger.LogInformation("Demande d'affichage du detail pour le titre ID {Id}.", id);
|
||||
|
||||
Reference in New Issue
Block a user