Class Permission
Represents a permission entity.
Inherited Members
Namespace: Innovt.Domain.Security
Assembly: Innovt.Domain.dll
Syntax
public class Permission : ValueObject<Guid>
Constructors
| Edit this page View SourcePermission()
Initializes a new instance of the Permission class.
Declaration
public Permission()
Properties
| Edit this page View SourceName
The custom name that you need to show to your customer.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Resource
-
- mean that you want to authorize the full path/domain Controller/* mean that you can authorize all actions Controller/Action mean that you want to authorize only this action
Declaration
public string Resource { get; set; }
Property Value
Type | Description |
---|---|
string |
Scope
Can be the area in your Controller
Declaration
public string Scope { get; set; }
Property Value
Type | Description |
---|---|
string |