tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Authority
IPermissionSetAuthority.cs
Go to the documentation of this file.
1
using
System.Threading
;
2
using
System.Threading.Tasks
;
3
4
using
Tgstation.Server.Api.Rights
;
5
using
Tgstation.Server.Host.Authority.Core
;
6
using
Tgstation.Server.Host.Models
;
7
using
Tgstation.Server.Host.Security
;
8
9
namespace
Tgstation.Server.Host.Authority
10
{
14
public
interface
IPermissionSetAuthority
:
IAuthority
15
{
23
[
TgsAuthorize
(
AdministrationRights
.ReadUsers)]
24
ValueTask<AuthorityResponse<PermissionSet>
>
GetId
(
long
id
,
PermissionSetLookupType
lookupType
, CancellationToken
cancellationToken
);
25
}
26
}
Tgstation.Server.Host.Authority.Core.IAuthority
Business logic for interating with the server.
Definition
IAuthority.cs:9
Tgstation.Server.Host.Authority.IPermissionSetAuthority
IAuthority for managing PermissionSets.
Definition
IPermissionSetAuthority.cs:15
Tgstation.Server.Host.Authority.IPermissionSetAuthority.GetId
ValueTask< AuthorityResponse< PermissionSet > > GetId(long id, PermissionSetLookupType lookupType, CancellationToken cancellationToken)
Gets the User with a given id .
Tgstation.Server.Api.Rights
Definition
AdministrationRights.cs:4
Tgstation.Server.Api.Rights.ConfigurationRights.List
@ List
User may list files if the Models.Instance allows it.
Tgstation.Server.Api.Rights.AdministrationRights
AdministrationRights
Administration rights for the server.
Definition
AdministrationRights.cs:10
Tgstation.Server.Host.Authority.Core
Definition
AuthorityBase.cs:14
Tgstation.Server.Host.Authority
Definition
AdministrationAuthority.cs:21
Tgstation.Server.Host.Authority.PermissionSetLookupType
PermissionSetLookupType
Indicates the type of Api.Models.EntityId.Id to lookup on a Models.PermissionSet.
Definition
PermissionSetLookupType.cs:7
Tgstation.Server.Host.Models
Definition
ChatBot.cs:9
Tgstation.Server.Host.Security
Definition
AuthenticationContext.cs:8
Generated by
1.9.8