Documentation modifications
This commit is contained in:
@@ -4,6 +4,13 @@ using Microsoft.AspNetCore.Mvc.Filters;
|
||||
|
||||
namespace adas_core.Authentication.Attributes;
|
||||
|
||||
/// <summary>
|
||||
/// Represents an authorization attribute that enforces permission-based access control using the injected <see cref="IUserService"/>.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Inherits from <see cref="Attribute"/> and implements <see cref="IAuthorizationFilter"/>, allowing it to be applied to controllers or actions and integrated into the request filtering pipeline.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=28ee847 -->
|
||||
public class AuthorizePermissionsAttribute(
|
||||
IUserService userService)
|
||||
: Attribute, IAuthorizationFilter
|
||||
|
||||
Reference in New Issue
Block a user